|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.identitymanagement.model.AddUserToGroupRequest
public class AddUserToGroupRequest
Container for the parameters to the AddUserToGroup operation.
Adds the specified user to the specified group.
AmazonIdentityManagement.addUserToGroup(AddUserToGroupRequest)| Constructor Summary | |
|---|---|
AddUserToGroupRequest()
Default constructor for a new AddUserToGroupRequest object. |
|
AddUserToGroupRequest(String groupName,
String userName)
Constructs a new AddUserToGroupRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getGroupName()
Name of the group to update. |
String |
getUserName()
Name of the user to add. |
int |
hashCode()
|
void |
setGroupName(String groupName)
Name of the group to update. |
void |
setUserName(String userName)
Name of the user to add. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AddUserToGroupRequest |
withGroupName(String groupName)
Name of the group to update. |
AddUserToGroupRequest |
withUserName(String userName)
Name of the user to add. |
| 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 |
|---|
public AddUserToGroupRequest()
public AddUserToGroupRequest(String groupName,
String userName)
groupName - Name of the group to update.userName - Name of the user to add.| Method Detail |
|---|
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 AddUserToGroupRequest 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 add.public AddUserToGroupRequest 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 add.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||