Class PolicyTypeDescription

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

public class PolicyTypeDescription extends Object implements Serializable, Cloneable

Information about a policy type.

See Also:
  • Constructor Details

    • PolicyTypeDescription

      public PolicyTypeDescription()
  • Method Details

    • setPolicyTypeName

      public void setPolicyTypeName(String policyTypeName)

      The name of the policy type.

      Parameters:
      policyTypeName - The name of the policy type.
    • getPolicyTypeName

      public String getPolicyTypeName()

      The name of the policy type.

      Returns:
      The name of the policy type.
    • withPolicyTypeName

      public PolicyTypeDescription withPolicyTypeName(String policyTypeName)

      The name of the policy type.

      Parameters:
      policyTypeName - The name of the policy type.
      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 policy type.

      Parameters:
      description - A description of the policy type.
    • getDescription

      public String getDescription()

      A description of the policy type.

      Returns:
      A description of the policy type.
    • withDescription

      public PolicyTypeDescription withDescription(String description)

      A description of the policy type.

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

      public List<PolicyAttributeTypeDescription> getPolicyAttributeTypeDescriptions()

      The description of the policy attributes associated with the policies defined by Elastic Load Balancing.

      Returns:
      The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
    • setPolicyAttributeTypeDescriptions

      public void setPolicyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)

      The description of the policy attributes associated with the policies defined by Elastic Load Balancing.

      Parameters:
      policyAttributeTypeDescriptions - The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
    • withPolicyAttributeTypeDescriptions

      public PolicyTypeDescription withPolicyAttributeTypeDescriptions(PolicyAttributeTypeDescription... policyAttributeTypeDescriptions)

      The description of the policy attributes associated with the policies defined by Elastic Load Balancing.

      NOTE: This method appends the values to the existing list (if any). Use setPolicyAttributeTypeDescriptions(java.util.Collection) or withPolicyAttributeTypeDescriptions(java.util.Collection) if you want to override the existing values.

      Parameters:
      policyAttributeTypeDescriptions - The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withPolicyAttributeTypeDescriptions

      public PolicyTypeDescription withPolicyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)

      The description of the policy attributes associated with the policies defined by Elastic Load Balancing.

      Parameters:
      policyAttributeTypeDescriptions - The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
      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 PolicyTypeDescription clone()
      Overrides:
      clone in class Object