public class RemoveUserFromGroupRequest extends AmazonWebServiceRequest implements Serializable
RemoveUserFromGroup operation.
Removes the specified user from the specified group.
| Constructor and Description |
|---|
RemoveUserFromGroupRequest()
Default constructor for a new RemoveUserFromGroupRequest object.
|
RemoveUserFromGroupRequest(String groupName,
String userName)
Constructs a new RemoveUserFromGroupRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic RemoveUserFromGroupRequest()
public RemoveUserFromGroupRequest(String groupName, String userName)
groupName - Name of the group to update.userName - Name of the user to remove.public String getGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setGroupName(String groupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName - Name of the group to update.public RemoveUserFromGroupRequest withGroupName(String groupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName - Name of the group to update.public String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user to remove.public RemoveUserFromGroupRequest withUserName(String userName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user to remove.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.