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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyTypeDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyTypeDescriptionclone()booleanequals(Object obj)StringgetDescription()A description of the policy type.List<PolicyAttributeTypeDescription>getPolicyAttributeTypeDescriptions()The description of the policy attributes associated with the policies defined by Elastic Load Balancing.StringgetPolicyTypeName()The name of the policy type.inthashCode()voidsetDescription(String description)A description of the policy type.voidsetPolicyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)The description of the policy attributes associated with the policies defined by Elastic Load Balancing.voidsetPolicyTypeName(String policyTypeName)The name of the policy type.StringtoString()Returns a string representation of this object; useful for testing and debugging.PolicyTypeDescriptionwithDescription(String description)A description of the policy type.PolicyTypeDescriptionwithPolicyAttributeTypeDescriptions(PolicyAttributeTypeDescription... policyAttributeTypeDescriptions)The description of the policy attributes associated with the policies defined by Elastic Load Balancing.PolicyTypeDescriptionwithPolicyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)The description of the policy attributes associated with the policies defined by Elastic Load Balancing.PolicyTypeDescriptionwithPolicyTypeName(String policyTypeName)The name of the policy type.
-
-
-
Method Detail
-
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)orwithPolicyAttributeTypeDescriptions(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PolicyTypeDescription clone()
-
-