com.amazonaws.services.elasticloadbalancing.model
Class PolicyAttribute

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

public class PolicyAttribute
extends java.lang.Object

The PolicyAttribute data type. This data type contains a key/value pair that defines properties of a specific policy.


Constructor Summary
PolicyAttribute()
           
 
Method Summary
 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.
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolicyAttribute

public PolicyAttribute()
Method Detail

getAttributeName

public java.lang.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(java.lang.String attributeName)
The name of the attribute associated with the policy.

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

withAttributeName

public PolicyAttribute withAttributeName(java.lang.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 java.lang.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(java.lang.String attributeValue)
The value of the attribute associated with the policy.

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

withAttributeValue

public PolicyAttribute withAttributeValue(java.lang.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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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


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