Class GetGroupPolicyResult
- java.lang.Object
-
- com.amazonaws.services.identitymanagement.model.GetGroupPolicyResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetGroupPolicyResult extends Object implements Serializable, Cloneable
Contains the response to a successful GetGroupPolicy request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetGroupPolicyResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetGroupPolicyResultclone()booleanequals(Object obj)StringgetGroupName()The group the policy is associated with.StringgetPolicyDocument()The policy document.StringgetPolicyName()The name of the policy.inthashCode()voidsetGroupName(String groupName)The group the policy is associated with.voidsetPolicyDocument(String policyDocument)The policy document.voidsetPolicyName(String policyName)The name of the policy.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetGroupPolicyResultwithGroupName(String groupName)The group the policy is associated with.GetGroupPolicyResultwithPolicyDocument(String policyDocument)The policy document.GetGroupPolicyResultwithPolicyName(String policyName)The name of the policy.
-
-
-
Method Detail
-
setGroupName
public void setGroupName(String groupName)
The group the policy is associated with.
- Parameters:
groupName- The group the policy is associated with.
-
getGroupName
public String getGroupName()
The group the policy is associated with.
- Returns:
- The group the policy is associated with.
-
withGroupName
public GetGroupPolicyResult withGroupName(String groupName)
The group the policy is associated with.
- Parameters:
groupName- The group the policy is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyName
public void setPolicyName(String policyName)
The name of the policy.
- Parameters:
policyName- The name of the policy.
-
getPolicyName
public String getPolicyName()
The name of the policy.
- Returns:
- The name of the policy.
-
withPolicyName
public GetGroupPolicyResult withPolicyName(String policyName)
The name of the policy.
- Parameters:
policyName- The name of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPolicyDocument
public void setPolicyDocument(String policyDocument)
The policy document.
- Parameters:
policyDocument- The policy document.
-
getPolicyDocument
public String getPolicyDocument()
The policy document.
- Returns:
- The policy document.
-
withPolicyDocument
public GetGroupPolicyResult withPolicyDocument(String policyDocument)
The policy document.
- Parameters:
policyDocument- The policy document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetGroupPolicyResult clone()
-
-