com.amazonaws.services.identitymanagement.model
Class GetGroupPolicyResult

java.lang.Object
  extended by com.amazonaws.services.identitymanagement.model.GetGroupPolicyResult

public class GetGroupPolicyResult
extends Object

Contains the result of a successful invocation of the GetGroupPolicy action.


Constructor Summary
GetGroupPolicyResult()
           
 
Method Summary
 String getGroupName()
          The group the policy is associated with.
 String getPolicyDocument()
          The policy document.
 String getPolicyName()
          The name of the policy.
 void setGroupName(String groupName)
          The group the policy is associated with.
 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.
 GetGroupPolicyResult withGroupName(String groupName)
          The group the policy is associated with.
 GetGroupPolicyResult withPolicyDocument(String policyDocument)
          The policy document.
 GetGroupPolicyResult withPolicyName(String policyName)
          The name of the policy.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetGroupPolicyResult

public GetGroupPolicyResult()
Method Detail

getGroupName

public String getGroupName()
The group the policy is associated with.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
The group the policy is associated with.

setGroupName

public void setGroupName(String groupName)
The group the policy is associated with.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
groupName - The group the policy is associated with.

withGroupName

public GetGroupPolicyResult withGroupName(String groupName)
The group the policy is associated with.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
groupName - The group the policy is associated with.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyName

public String getPolicyName()
The name of the policy.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Returns:
The name of the policy.

setPolicyName

public void setPolicyName(String policyName)
The name of the policy.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
policyName - The name of the policy.

withPolicyName

public GetGroupPolicyResult withPolicyName(String policyName)
The name of the policy.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*

Parameters:
policyName - The name of the policy.
Returns:
A reference to this updated object so that method calls can be chained together.

getPolicyDocument

public String getPolicyDocument()
The policy document.

Constraints:
Length: 1 - 131072
Pattern: [ -?]+

Returns:
The policy document.

setPolicyDocument

public void setPolicyDocument(String policyDocument)
The policy document.

Constraints:
Length: 1 - 131072
Pattern: [ -?]+

Parameters:
policyDocument - The policy document.

withPolicyDocument

public GetGroupPolicyResult withPolicyDocument(String policyDocument)
The policy document.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 131072
Pattern: [ -?]+

Parameters:
policyDocument - The policy document.
Returns:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.