|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticloadbalancing.model.PolicyAttribute
public class PolicyAttribute
The PolicyAttribute data type. This data type contains a key/value pair that defines properties of a specific policy.
Constructor Summary | |
---|---|
PolicyAttribute()
Default constructor for a new PolicyAttribute object. |
|
PolicyAttribute(String attributeName,
String attributeValue)
Constructs a new PolicyAttribute object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAttributeName()
The name of the attribute associated with the policy. |
String |
getAttributeValue()
The value of the attribute associated with the policy. |
int |
hashCode()
|
void |
setAttributeName(String attributeName)
The name of the attribute associated with the policy. |
void |
setAttributeValue(String attributeValue)
The value of the attribute associated with the policy. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
PolicyAttribute |
withAttributeName(String attributeName)
The name of the attribute associated with the policy. |
PolicyAttribute |
withAttributeValue(String attributeValue)
The value of the attribute associated with the policy. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolicyAttribute()
public PolicyAttribute(String attributeName, String attributeValue)
attributeName
- The name of the attribute associated with the
policy.attributeValue
- The value of the attribute associated with the
policy.Method Detail |
---|
public String getAttributeName()
public void setAttributeName(String attributeName)
attributeName
- The name of the attribute associated with the policy.public PolicyAttribute withAttributeName(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 String getAttributeValue()
public void setAttributeValue(String attributeValue)
attributeValue
- The value of the attribute associated with the policy.public PolicyAttribute withAttributeValue(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |