Class PolicyAttribute

java.lang.Object
com.amazonaws.services.elasticloadbalancing.model.PolicyAttribute
All Implemented Interfaces:
Serializable, Cloneable

public class PolicyAttribute extends Object implements Serializable, Cloneable

Information about a policy attribute.

See Also:
  • Constructor Details

    • PolicyAttribute

      public PolicyAttribute()
      Default constructor for PolicyAttribute object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
    • PolicyAttribute

      public PolicyAttribute(String attributeName, String attributeValue)
      Constructs a new PolicyAttribute object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
      Parameters:
      attributeName - The name of the attribute.
      attributeValue - The value of the attribute.
  • Method Details

    • setAttributeName

      public void setAttributeName(String attributeName)

      The name of the attribute.

      Parameters:
      attributeName - The name of the attribute.
    • getAttributeName

      public String getAttributeName()

      The name of the attribute.

      Returns:
      The name of the attribute.
    • withAttributeName

      public PolicyAttribute withAttributeName(String attributeName)

      The name of the attribute.

      Parameters:
      attributeName - The name of the attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAttributeValue

      public void setAttributeValue(String attributeValue)

      The value of the attribute.

      Parameters:
      attributeValue - The value of the attribute.
    • getAttributeValue

      public String getAttributeValue()

      The value of the attribute.

      Returns:
      The value of the attribute.
    • withAttributeValue

      public PolicyAttribute withAttributeValue(String attributeValue)

      The value of the attribute.

      Parameters:
      attributeValue - The value of the attribute.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public PolicyAttribute clone()
      Overrides:
      clone in class Object