com.amazonaws.services.identitymanagement.model
Class DeleteGroupRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.identitymanagement.model.DeleteGroupRequest

public class DeleteGroupRequest
extends AmazonWebServiceRequest

Container for the parameters to the DeleteGroup operation.

Deletes the specified group. The group must not contain any users or have any attached policies.

See Also:
AmazonIdentityManagement.deleteGroup(DeleteGroupRequest)

Constructor Summary
DeleteGroupRequest()
          Default constructor for a new DeleteGroupRequest object.
DeleteGroupRequest(String groupName)
          Constructs a new DeleteGroupRequest object.
 
Method Summary
 String getGroupName()
          Name of the group to delete.
 void setGroupName(String groupName)
          Name of the group to delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteGroupRequest withGroupName(String groupName)
          Name of the group to delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteGroupRequest

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


DeleteGroupRequest

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

Parameters:
groupName - Name of the group to delete.
Method Detail

getGroupName

public String getGroupName()
Name of the group to delete.

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

Returns:
Name of the group to delete.

setGroupName

public void setGroupName(String groupName)
Name of the group to delete.

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

Parameters:
groupName - Name of the group to delete.

withGroupName

public DeleteGroupRequest withGroupName(String groupName)
Name of the group to delete.

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 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()


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