Class PolicyAttributeTypeDescription

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

public class PolicyAttributeTypeDescription extends Object implements Serializable, Cloneable

Information about a policy attribute type.

See Also:
  • Constructor Details

    • PolicyAttributeTypeDescription

      public PolicyAttributeTypeDescription()
  • 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 PolicyAttributeTypeDescription 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.
    • setAttributeType

      public void setAttributeType(String attributeType)

      The type of the attribute. For example, Boolean or Integer.

      Parameters:
      attributeType - The type of the attribute. For example, Boolean or Integer.
    • getAttributeType

      public String getAttributeType()

      The type of the attribute. For example, Boolean or Integer.

      Returns:
      The type of the attribute. For example, Boolean or Integer.
    • withAttributeType

      public PolicyAttributeTypeDescription withAttributeType(String attributeType)

      The type of the attribute. For example, Boolean or Integer.

      Parameters:
      attributeType - The type of the attribute. For example, Boolean or Integer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDescription

      public void setDescription(String description)

      A description of the attribute.

      Parameters:
      description - A description of the attribute.
    • getDescription

      public String getDescription()

      A description of the attribute.

      Returns:
      A description of the attribute.
    • withDescription

      public PolicyAttributeTypeDescription withDescription(String description)

      A description of the attribute.

      Parameters:
      description - A description of the attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDefaultValue

      public void setDefaultValue(String defaultValue)

      The default value of the attribute, if applicable.

      Parameters:
      defaultValue - The default value of the attribute, if applicable.
    • getDefaultValue

      public String getDefaultValue()

      The default value of the attribute, if applicable.

      Returns:
      The default value of the attribute, if applicable.
    • withDefaultValue

      public PolicyAttributeTypeDescription withDefaultValue(String defaultValue)

      The default value of the attribute, if applicable.

      Parameters:
      defaultValue - The default value of the attribute, if applicable.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCardinality

      public void setCardinality(String cardinality)

      The cardinality of the attribute.

      Valid values:

      • ONE(1) : Single value required
      • ZERO_OR_ONE(0..1) : Up to one value can be supplied
      • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
      • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
      Parameters:
      cardinality - The cardinality of the attribute.

      Valid values:

      • ONE(1) : Single value required
      • ZERO_OR_ONE(0..1) : Up to one value can be supplied
      • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
      • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
    • getCardinality

      public String getCardinality()

      The cardinality of the attribute.

      Valid values:

      • ONE(1) : Single value required
      • ZERO_OR_ONE(0..1) : Up to one value can be supplied
      • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
      • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
      Returns:
      The cardinality of the attribute.

      Valid values:

      • ONE(1) : Single value required
      • ZERO_OR_ONE(0..1) : Up to one value can be supplied
      • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
      • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
    • withCardinality

      public PolicyAttributeTypeDescription withCardinality(String cardinality)

      The cardinality of the attribute.

      Valid values:

      • ONE(1) : Single value required
      • ZERO_OR_ONE(0..1) : Up to one value can be supplied
      • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
      • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
      Parameters:
      cardinality - The cardinality of the attribute.

      Valid values:

      • ONE(1) : Single value required
      • ZERO_OR_ONE(0..1) : Up to one value can be supplied
      • ZERO_OR_MORE(0..*) : Optional. Multiple values are allowed
      • ONE_OR_MORE(1..*0) : Required. Multiple values are allowed
      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

      Overrides:
      clone in class Object