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 PolicyTypeDescription
clone()
boolean
equals(Object obj)
String
getDescription()
A description of the policy type.List<PolicyAttributeTypeDescription>
getPolicyAttributeTypeDescriptions()
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.String
getPolicyTypeName()
The name of the policy type.int
hashCode()
void
setDescription(String description)
A description of the policy type.void
setPolicyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.void
setPolicyTypeName(String policyTypeName)
The name of the policy type.String
toString()
Returns a string representation of this object; useful for testing and debugging.PolicyTypeDescription
withDescription(String description)
A description of the policy type.PolicyTypeDescription
withPolicyAttributeTypeDescriptions(PolicyAttributeTypeDescription... policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.PolicyTypeDescription
withPolicyAttributeTypeDescriptions(Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.PolicyTypeDescription
withPolicyTypeName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PolicyTypeDescription clone()
-
-