Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class DeleteGroupPolicyRequest

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

public class DeleteGroupPolicyRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteGroupPolicy operation.

Deletes the specified policy that is associated with the specified group.

See Also:
AmazonIdentityManagement.deleteGroupPolicy(DeleteGroupPolicyRequest), Serialized Form

Constructor Summary
DeleteGroupPolicyRequest()
          Default constructor for a new DeleteGroupPolicyRequest object.
DeleteGroupPolicyRequest(String groupName, String policyName)
          Constructs a new DeleteGroupPolicyRequest 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 delete.
 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 delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteGroupPolicyRequest withGroupName(String groupName)
          Name of the group the policy is associated with.
 DeleteGroupPolicyRequest withPolicyName(String policyName)
          Name of the policy document to delete.
 
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

DeleteGroupPolicyRequest

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


DeleteGroupPolicyRequest

public DeleteGroupPolicyRequest(String groupName,
                                String policyName)
Constructs a new DeleteGroupPolicyRequest 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 delete.
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 DeleteGroupPolicyRequest 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 delete.

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

Returns:
Name of the policy document to delete.

setPolicyName

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

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

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

withPolicyName

public DeleteGroupPolicyRequest withPolicyName(String policyName)
Name of the policy document to delete.

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 delete.
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.