public class PolicyTypeDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a policy type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
description
A description of the policy type.
|
private SdkInternalList<PolicyAttributeTypeDescription> |
policyAttributeTypeDescriptions
The description of the policy attributes associated with the policies
defined by Elastic Load Balancing.
|
private java.lang.String |
policyTypeName
The name of the policy type.
|
Constructor and Description |
---|
PolicyTypeDescription() |
Modifier and Type | Method and Description |
---|---|
PolicyTypeDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description of the policy type.
|
java.util.List<PolicyAttributeTypeDescription> |
getPolicyAttributeTypeDescriptions()
The description of the policy attributes associated with the policies
defined by Elastic Load Balancing.
|
java.lang.String |
getPolicyTypeName()
The name of the policy type.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description of the policy type.
|
void |
setPolicyAttributeTypeDescriptions(java.util.Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies
defined by Elastic Load Balancing.
|
void |
setPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PolicyTypeDescription |
withDescription(java.lang.String description)
A description of the policy type.
|
PolicyTypeDescription |
withPolicyAttributeTypeDescriptions(java.util.Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies
defined by Elastic Load Balancing.
|
PolicyTypeDescription |
withPolicyAttributeTypeDescriptions(PolicyAttributeTypeDescription... policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies
defined by Elastic Load Balancing.
|
PolicyTypeDescription |
withPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
|
private java.lang.String policyTypeName
The name of the policy type.
private java.lang.String description
A description of the policy type.
private SdkInternalList<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
public void setPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
policyTypeName
- The name of the policy type.public java.lang.String getPolicyTypeName()
The name of the policy type.
public PolicyTypeDescription withPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
policyTypeName
- The name of the policy type.public void setDescription(java.lang.String description)
A description of the policy type.
description
- A description of the policy type.public java.lang.String getDescription()
A description of the policy type.
public PolicyTypeDescription withDescription(java.lang.String description)
A description of the policy type.
description
- A description of the policy type.public java.util.List<PolicyAttributeTypeDescription> getPolicyAttributeTypeDescriptions()
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
public void setPolicyAttributeTypeDescriptions(java.util.Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
policyAttributeTypeDescriptions
- The description of the policy attributes associated with the
policies defined by Elastic Load Balancing.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.
policyAttributeTypeDescriptions
- The description of the policy attributes associated with the
policies defined by Elastic Load Balancing.public PolicyTypeDescription withPolicyAttributeTypeDescriptions(java.util.Collection<PolicyAttributeTypeDescription> policyAttributeTypeDescriptions)
The description of the policy attributes associated with the policies defined by Elastic Load Balancing.
policyAttributeTypeDescriptions
- The description of the policy attributes associated with the
policies defined by Elastic Load Balancing.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PolicyTypeDescription clone()
clone
in class java.lang.Object