|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
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 | |
---|---|
String |
getAttributeName()
The name of the attribute associated with the policy. |
String |
getAttributeValue()
The value of the attribute associated with the policy. |
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 |
---|
equals, getClass, hashCode, 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()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |