public class AddUserToGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddUserToGroupRequest()
Default constructor for AddUserToGroupRequest object.
|
AddUserToGroupRequest(String groupName,
String userName)
Constructs a new AddUserToGroupRequest object.
|
Modifier and Type | Method and Description |
---|---|
AddUserToGroupRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getGroupName()
The name of the group to update.
|
String |
getUserName()
The name of the user to add.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The name of the group to update.
|
void |
setUserName(String userName)
The name of the user to add.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddUserToGroupRequest |
withGroupName(String groupName)
The name of the group to update.
|
AddUserToGroupRequest |
withUserName(String userName)
The name of the user to add.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public AddUserToGroupRequest()
public AddUserToGroupRequest(String groupName, String userName)
groupName
- The name of the group to update.userName
- The name of the user to add.public void setGroupName(String groupName)
The name of the group to update.
groupName
- The name of the group to update.public String getGroupName()
The name of the group to update.
public AddUserToGroupRequest withGroupName(String groupName)
The name of the group to update.
groupName
- The name of the group to update.public void setUserName(String userName)
The name of the user to add.
userName
- The name of the user to add.public String getUserName()
The name of the user to add.
public AddUserToGroupRequest withUserName(String userName)
The name of the user to add.
userName
- The name of the user to add.public String toString()
toString
in class Object
Object.toString()
public AddUserToGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.