Class PolicyDescription
java.lang.Object
com.amazonaws.services.elasticloadbalancing.model.PolicyDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Information about a policy.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The policy attributes.The name of the policy.The name of the policy type.int
hashCode()
void
setPolicyAttributeDescriptions
(Collection<PolicyAttributeDescription> policyAttributeDescriptions) The policy attributes.void
setPolicyName
(String policyName) The name of the policy.void
setPolicyTypeName
(String policyTypeName) The name of the policy type.toString()
Returns a string representation of this object; useful for testing and debugging.withPolicyAttributeDescriptions
(PolicyAttributeDescription... policyAttributeDescriptions) The policy attributes.withPolicyAttributeDescriptions
(Collection<PolicyAttributeDescription> policyAttributeDescriptions) The policy attributes.withPolicyName
(String policyName) The name of the policy.withPolicyTypeName
(String policyTypeName) The name of the policy type.
-
Constructor Details
-
PolicyDescription
public PolicyDescription()
-
-
Method Details
-
setPolicyName
The name of the policy.
- Parameters:
policyName
- The name of the policy.
-
getPolicyName
The name of the policy.
- Returns:
- The name of the policy.
-
withPolicyName
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
The name of the policy type.
- Parameters:
policyTypeName
- The name of the policy type.
-
getPolicyTypeName
The name of the policy type.
- Returns:
- The name of the policy type.
-
withPolicyTypeName
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
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)
orwithPolicyAttributeDescriptions(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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-