@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyDetail extends Object implements Serializable, Cloneable
Contains information about an IAM policy, including the policy document.
This data type is used as a response element in the GetAccountAuthorizationDetails action.
Constructor and Description |
---|
PolicyDetail() |
Modifier and Type | Method and Description |
---|---|
PolicyDetail |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyDocument()
The policy document.
|
String |
getPolicyName()
The name of the policy.
|
int |
hashCode() |
void |
setPolicyDocument(String policyDocument)
The policy document.
|
void |
setPolicyName(String policyName)
The name of the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PolicyDetail |
withPolicyDocument(String policyDocument)
The policy document.
|
PolicyDetail |
withPolicyName(String policyName)
The name of the policy.
|
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 PolicyDetail withPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.public void setPolicyDocument(String policyDocument)
The policy document.
policyDocument
- The policy document.public String getPolicyDocument()
The policy document.
public PolicyDetail withPolicyDocument(String policyDocument)
The policy document.
policyDocument
- The policy document.public String toString()
toString
in class Object
Object.toString()
public PolicyDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.