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