public class PolicyDescription
extends java.lang.Object
implements java.io.Serializable
Information about a policy.
Constructor and Description |
---|
PolicyDescription() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getPolicyName()
The name of the policy.
The name of the policy.
public void setPolicyName(java.lang.String policyName)
The name of the policy.
policyName
- The name of the policy.
public PolicyDescription withPolicyName(java.lang.String policyName)
The name of the policy.
Returns a reference to this object so that method calls can be chained together.
policyName
- The name of the policy.
public java.lang.String getPolicyTypeName()
The name of the policy type.
The name of the policy type.
public void setPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
policyTypeName
- The name of the policy type.
public PolicyDescription withPolicyTypeName(java.lang.String policyTypeName)
The name of the policy type.
Returns a reference to this object so that method calls can be chained together.
policyTypeName
- The name of the policy type.
public java.util.List<PolicyAttributeDescription> getPolicyAttributeDescriptions()
The policy attributes.
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.
Returns a reference to this object so that method calls can be chained together.
policyAttributeDescriptions
- The policy attributes.
public PolicyDescription withPolicyAttributeDescriptions(java.util.Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
Returns a reference to this object so that method calls can be chained together.
policyAttributeDescriptions
- The policy attributes.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.