public class AddUserToGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
AddUserToGroup operation.
Adds the specified user to the specified group.
| コンストラクタと説明 |
|---|
AddUserToGroupRequest()
Default constructor for a new AddUserToGroupRequest object.
|
AddUserToGroupRequest(java.lang.String groupName,
java.lang.String userName)
Constructs a new AddUserToGroupRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getGroupName()
Name of the group to update.
|
java.lang.String |
getUserName()
Name of the user to add.
|
int |
hashCode() |
void |
setGroupName(java.lang.String groupName)
Name of the group to update.
|
void |
setUserName(java.lang.String userName)
Name of the user to add.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddUserToGroupRequest |
withGroupName(java.lang.String groupName)
Name of the group to update.
|
AddUserToGroupRequest |
withUserName(java.lang.String userName)
Name of the user to add.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic AddUserToGroupRequest()
public AddUserToGroupRequest(java.lang.String groupName,
java.lang.String userName)
groupName - Name of the group to update.userName - Name of the user to add.public java.lang.String getGroupName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setGroupName(java.lang.String groupName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
groupName - Name of the group to update.public AddUserToGroupRequest withGroupName(java.lang.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 java.lang.String getUserName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
public void setUserName(java.lang.String userName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]*
userName - Name of the user to add.public AddUserToGroupRequest withUserName(java.lang.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 add.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object