public class AdminAddUserToGroupRequest extends AmazonWebServiceRequest implements Serializable
Adds the specified user to the specified group.
Calling this action requires developer credentials.
| Constructor and Description |
|---|
AdminAddUserToGroupRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getGroupName()
The group name.
|
String |
getUsername()
The username for the user.
|
String |
getUserPoolId()
The user pool ID for the user pool.
|
int |
hashCode() |
void |
setGroupName(String groupName)
The group name.
|
void |
setUsername(String username)
The username for the user.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminAddUserToGroupRequest |
withGroupName(String groupName)
The group name.
|
AdminAddUserToGroupRequest |
withUsername(String username)
The username for the user.
|
AdminAddUserToGroupRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public AdminAddUserToGroupRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool.
public String getUsername()
The username for the user.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The username for the user.
public void setUsername(String username)
The username for the user.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The username for the user.
public AdminAddUserToGroupRequest withUsername(String username)
The username for the user.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The username for the user.
public String getGroupName()
The group name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The group name.
public void setGroupName(String groupName)
The group name.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
groupName - The group name.
public AdminAddUserToGroupRequest withGroupName(String groupName)
The group name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
groupName - The group name.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.