Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class GetGroupPolicyRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.GetGroupPolicyRequest
All Implemented Interfaces:
Serializable

public class GetGroupPolicyRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the GetGroupPolicy operation.

Retrieves the specified policy document for the specified group. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html .

See Also:
AmazonIdentityManagement.getGroupPolicy(GetGroupPolicyRequest), Serialized Form

Constructor Summary
GetGroupPolicyRequest()
          Default constructor for a new GetGroupPolicyRequest object.
GetGroupPolicyRequest(String groupName, String policyName)
          Constructs a new GetGroupPolicyRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getGroupName()
          Name of the group the policy is associated with.
 String getPolicyName()
          Name of the policy document to get.
 int hashCode()
           
 void setGroupName(String groupName)
          Name of the group the policy is associated with.
 void setPolicyName(String policyName)
          Name of the policy document to get.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetGroupPolicyRequest withGroupName(String groupName)
          Name of the group the policy is associated with.
 GetGroupPolicyRequest withPolicyName(String policyName)
          Name of the policy document to get.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetGroupPolicyRequest

public GetGroupPolicyRequest()
Default constructor for a new GetGroupPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


GetGroupPolicyRequest

public GetGroupPolicyRequest(String groupName,
                             String policyName)
Constructs a new GetGroupPolicyRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
groupName - Name of the group the policy is associated with.
policyName - Name of the policy document to get.
Method Detail

getGroupName

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

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

Returns:
Name of the group the policy is associated with.

setGroupName

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

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

Parameters:
groupName - Name of the group the policy is associated with.

withGroupName

public GetGroupPolicyRequest withGroupName(String groupName)
Name of 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 - Name of 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()
Name of the policy document to get.

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

Returns:
Name of the policy document to get.

setPolicyName

public void setPolicyName(String policyName)
Name of the policy document to get.

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

Parameters:
policyName - Name of the policy document to get.

withPolicyName

public GetGroupPolicyRequest withPolicyName(String policyName)
Name of the policy document to get.

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

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

Parameters:
policyName - Name of the policy document to get.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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