@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
AddUserToGroupRequest |
withGroupName (String groupName)
The name of the group to update.
|
AddUserToGroupRequest |
withUserName (String userName)
The name of the user to add.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout public AddUserToGroupRequest()
public AddUserToGroupRequest(String groupName, String userName)
groupName - The name of the group to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the user to add.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public void setGroupName(String groupName)
The name of the group to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
groupName - The name of the group to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String getGroupName()
The name of the group to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public AddUserToGroupRequest withGroupName(String groupName)
The name of the group to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
groupName - The name of the group to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public void setUserName(String userName)
The name of the user to add.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the user to add.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String getUserName()
The name of the user to add.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public AddUserToGroupRequest withUserName(String userName)
The name of the user to add.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the user to add.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String toString()
toString in class Object Object.toString() public AddUserToGroupRequest clone()
AmazonWebServiceRequest clone in class AmazonWebServiceRequest Object.clone()