@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyDescription extends Object implements Serializable, Cloneable
Information about a policy.
| Constructor and Description |
|---|
PolicyDescription () |
| Modifier and Type | Method and Description |
|---|---|
PolicyDescription |
clone () |
boolean |
equals (Object obj) |
List<PolicyAttributeDescription> |
getPolicyAttributeDescriptions ()
The policy attributes.
|
String |
getPolicyName ()
The name of the policy.
|
String |
getPolicyTypeName ()
The name of the policy type.
|
int |
hashCode () |
void |
setPolicyAttributeDescriptions (Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
|
void |
setPolicyName (String policyName)
The name of the policy.
|
void |
setPolicyTypeName (String policyTypeName)
The name of the policy type.
|
String |
toString ()
Returns a string representation of this object.
|
PolicyDescription |
withPolicyAttributeDescriptions (Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
|
PolicyDescription |
withPolicyAttributeDescriptions (PolicyAttributeDescription... policyAttributeDescriptions)
The policy attributes.
|
PolicyDescription |
withPolicyName (String policyName)
The name of the policy.
|
PolicyDescription |
withPolicyTypeName (String policyTypeName)
The name of the policy type.
|
public PolicyDescription()
public void setPolicyName(String policyName)
The name of the policy.
policyName - The name of the policy.public String getPolicyName()
The name of the policy.
public PolicyDescription withPolicyName(String policyName)
The name of the policy.
policyName - The name of the policy.public void setPolicyTypeName(String policyTypeName)
The name of the policy type.
policyTypeName - The name of the policy type.public String getPolicyTypeName()
The name of the policy type.
public PolicyDescription withPolicyTypeName(String policyTypeName)
The name of the policy type.
policyTypeName - The name of the policy type.public List<PolicyAttributeDescription> getPolicyAttributeDescriptions()
The policy attributes.
public void setPolicyAttributeDescriptions(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(Collection<PolicyAttributeDescription> policyAttributeDescriptions)
The policy attributes.
policyAttributeDescriptions - The policy attributes.public String toString()
toString in class Object Object.toString() public PolicyDescription clone()