Class PolicyDescription

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

public class PolicyDescription extends Object implements Serializable, Cloneable

Information about a policy.

See Also:
  • Constructor Details

    • PolicyDescription

      public PolicyDescription()
  • Method Details

    • setPolicyName

      public void setPolicyName(String policyName)

      The name of the policy.

      Parameters:
      policyName - The name of the policy.
    • getPolicyName

      public String getPolicyName()

      The name of the policy.

      Returns:
      The name of the policy.
    • withPolicyName

      public PolicyDescription withPolicyName(String policyName)

      The name of the policy.

      Parameters:
      policyName - The name of the policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 PolicyDescription 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.
    • getPolicyAttributeDescriptions

      public List<PolicyAttributeDescription> getPolicyAttributeDescriptions()

      The policy attributes.

      Returns:
      The policy attributes.
    • setPolicyAttributeDescriptions

      public void setPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)

      The policy attributes.

      Parameters:
      policyAttributeDescriptions - The policy attributes.
    • withPolicyAttributeDescriptions

      public PolicyDescription withPolicyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)

      The policy attributes.

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

      Parameters:
      policyAttributeDescriptions - The policy attributes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withPolicyAttributeDescriptions

      public PolicyDescription withPolicyAttributeDescriptions(Collection<PolicyAttributeDescription> policyAttributeDescriptions)

      The policy attributes.

      Parameters:
      policyAttributeDescriptions - The policy attributes.
      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 PolicyDescription clone()
      Overrides:
      clone in class Object