public class PolicyAttribute
extends java.lang.Object
implements java.io.Serializable
The PolicyAttribute data type. This data type contains a key/value pair that defines properties of a specific policy.
| コンストラクタと説明 |
|---|
PolicyAttribute()
Default constructor for a new PolicyAttribute object.
|
PolicyAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
Constructs a new PolicyAttribute object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttributeName()
The name of the attribute associated with the policy.
|
java.lang.String |
getAttributeValue()
The value of the attribute associated with the policy.
|
int |
hashCode() |
void |
setAttributeName(java.lang.String attributeName)
The name of the attribute associated with the policy.
|
void |
setAttributeValue(java.lang.String attributeValue)
The value of the attribute associated with the policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PolicyAttribute |
withAttributeName(java.lang.String attributeName)
The name of the attribute associated with the policy.
|
PolicyAttribute |
withAttributeValue(java.lang.String attributeValue)
The value of the attribute associated with the policy.
|
public PolicyAttribute()
public PolicyAttribute(java.lang.String attributeName,
java.lang.String attributeValue)
attributeName - The name of the attribute associated with the
policy.attributeValue - The value of the attribute associated with the
policy.public java.lang.String getAttributeName()
public void setAttributeName(java.lang.String attributeName)
attributeName - The name of the attribute associated with the policy.public PolicyAttribute withAttributeName(java.lang.String attributeName)
Returns a reference to this object so that method calls can be chained together.
attributeName - The name of the attribute associated with the policy.public java.lang.String getAttributeValue()
public void setAttributeValue(java.lang.String attributeValue)
attributeValue - The value of the attribute associated with the policy.public PolicyAttribute withAttributeValue(java.lang.String attributeValue)
Returns a reference to this object so that method calls can be chained together.
attributeValue - The value of the attribute associated with the policy.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object