com.amazonaws.services.elasticloadbalancing.model
Class PolicyAttributeDescription

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.PolicyAttributeDescription

public class PolicyAttributeDescription
extends Object

The PolicyAttributeDescription data type. This data type is used to describe the attributes and values associated with a policy.


Constructor Summary
PolicyAttributeDescription()
           
 
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.
 PolicyAttributeDescription withAttributeName(String attributeName)
          The name of the attribute associated with the policy.
 PolicyAttributeDescription 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

PolicyAttributeDescription

public PolicyAttributeDescription()
Method Detail

getAttributeName

public String getAttributeName()
The name of the attribute associated with the policy.

Returns:
The name of the attribute associated with the policy.

setAttributeName

public void setAttributeName(String attributeName)
The name of the attribute associated with the policy.

Parameters:
attributeName - The name of the attribute associated with the policy.

withAttributeName

public PolicyAttributeDescription withAttributeName(String attributeName)
The name of the attribute associated with the policy.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributeName - The name of the attribute associated with the policy.
Returns:
A reference to this updated object so that method calls can be chained together.

getAttributeValue

public String getAttributeValue()
The value of the attribute associated with the policy.

Returns:
The value of the attribute associated with the policy.

setAttributeValue

public void setAttributeValue(String attributeValue)
The value of the attribute associated with the policy.

Parameters:
attributeValue - The value of the attribute associated with the policy.

withAttributeValue

public PolicyAttributeDescription withAttributeValue(String attributeValue)
The value of the attribute associated with the policy.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attributeValue - The value of the attribute associated with the policy.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.