Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.identitymanagement.model
Class RemoveUserFromGroupRequest

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

public class RemoveUserFromGroupRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the RemoveUserFromGroup operation.

Removes the specified user from the specified group.

See Also:
AmazonIdentityManagement.removeUserFromGroup(RemoveUserFromGroupRequest), Serialized Form

Constructor Summary
RemoveUserFromGroupRequest()
          Default constructor for a new RemoveUserFromGroupRequest object.
RemoveUserFromGroupRequest(String groupName, String userName)
          Constructs a new RemoveUserFromGroupRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getGroupName()
          Name of the group to update.
 String getUserName()
          Name of the user to remove.
 int hashCode()
           
 void setGroupName(String groupName)
          Name of the group to update.
 void setUserName(String userName)
          Name of the user to remove.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 RemoveUserFromGroupRequest withGroupName(String groupName)
          Name of the group to update.
 RemoveUserFromGroupRequest withUserName(String userName)
          Name of the user to remove.
 
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

RemoveUserFromGroupRequest

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


RemoveUserFromGroupRequest

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

Parameters:
groupName - Name of the group to update.
userName - Name of the user to remove.
Method Detail

getGroupName

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

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

Returns:
Name of the group to update.

setGroupName

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

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

Parameters:
groupName - Name of the group to update.

withGroupName

public RemoveUserFromGroupRequest withGroupName(String groupName)
Name of the group to update.

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 update.
Returns:
A reference to this updated object so that method calls can be chained together.

getUserName

public String getUserName()
Name of the user to remove.

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

Returns:
Name of the user to remove.

setUserName

public void setUserName(String userName)
Name of the user to remove.

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

Parameters:
userName - Name of the user to remove.

withUserName

public RemoveUserFromGroupRequest withUserName(String userName)
Name of the user to remove.

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

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

Parameters:
userName - Name of the user to remove.
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.