public class PolicyDescription
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about a policy.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<PolicyAttributeDescription> |
policyAttributeDescriptions
The policy attributes.
|
private java.lang.String |
policyName
The name of the policy.
|
private java.lang.String |
policyTypeName
The name of the policy type.
|
Constructor and Description |
---|
PolicyDescription() |
Modifier and Type | Method and Description |
---|---|
PolicyDescription |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<PolicyAttributeDescription> |
getPolicyAttributeDescriptions()
The policy attributes.
|
java.lang.String |
getPolicyName()
The name of the policy.
|
java.lang.String |
getPolicyTypeName()
The name of the policy type.
|
int |
hashCode() |
void |
setPolicyAttributeDescriptions(java.util.Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
|
void |
setPolicyName(java.lang.String policyName)
The name of the policy.
|
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.
|
PolicyDescription |
withPolicyAttributeDescriptions(java.util.Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
|
PolicyDescription |
withPolicyAttributeDescriptions(PolicyAttributeDescription... policyAttributeDescriptions)
The policy attributes.
|
PolicyDescription |
withPolicyName(java.lang.String policyName)
The name of the policy.
|
PolicyDescription |
withPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
|
private java.lang.String policyName
The name of the policy.
private java.lang.String policyTypeName
The name of the policy type.
private SdkInternalList<PolicyAttributeDescription> policyAttributeDescriptions
The policy attributes.
public void setPolicyName(java.lang.String policyName)
The name of the policy.
policyName
- The name of the policy.public java.lang.String getPolicyName()
The name of the policy.
public PolicyDescription withPolicyName(java.lang.String policyName)
The name of the policy.
policyName
- The name of the policy.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 PolicyDescription withPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
policyTypeName
- The name of the policy type.public java.util.List<PolicyAttributeDescription> getPolicyAttributeDescriptions()
The policy attributes.
public void setPolicyAttributeDescriptions(java.util.Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
policyAttributeDescriptions
- The policy attributes.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.
policyAttributeDescriptions
- The policy attributes.public PolicyDescription withPolicyAttributeDescriptions(java.util.Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
policyAttributeDescriptions
- The policy attributes.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 PolicyDescription clone()
clone
in class java.lang.Object