public class GetRolePolicyResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the response to a successful GetRolePolicy request.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
policyDocument
The policy document.
|
private java.lang.String |
policyName
The name of the policy.
|
private java.lang.String |
roleName
The role the policy is associated with.
|
Constructor and Description |
---|
GetRolePolicyResult() |
Modifier and Type | Method and Description |
---|---|
GetRolePolicyResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPolicyDocument()
The policy document.
|
java.lang.String |
getPolicyName()
The name of the policy.
|
java.lang.String |
getRoleName()
The role the policy is associated with.
|
int |
hashCode() |
void |
setPolicyDocument(java.lang.String policyDocument)
The policy document.
|
void |
setPolicyName(java.lang.String policyName)
The name of the policy.
|
void |
setRoleName(java.lang.String roleName)
The role the policy is associated with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetRolePolicyResult |
withPolicyDocument(java.lang.String policyDocument)
The policy document.
|
GetRolePolicyResult |
withPolicyName(java.lang.String policyName)
The name of the policy.
|
GetRolePolicyResult |
withRoleName(java.lang.String roleName)
The role the policy is associated with.
|
private java.lang.String roleName
The role the policy is associated with.
private java.lang.String policyName
The name of the policy.
private java.lang.String policyDocument
The policy document.
public void setRoleName(java.lang.String roleName)
The role the policy is associated with.
roleName
- The role the policy is associated with.public java.lang.String getRoleName()
The role the policy is associated with.
public GetRolePolicyResult withRoleName(java.lang.String roleName)
The role the policy is associated with.
roleName
- The role the policy is associated with.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 GetRolePolicyResult withPolicyName(java.lang.String policyName)
The name of the policy.
policyName
- The name of the policy.public void setPolicyDocument(java.lang.String policyDocument)
The policy document.
policyDocument
- The policy document.public java.lang.String getPolicyDocument()
The policy document.
public GetRolePolicyResult withPolicyDocument(java.lang.String policyDocument)
The policy document.
policyDocument
- The policy document.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 GetRolePolicyResult clone()
clone
in class java.lang.Object