@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateUserGroupRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateUserGroupRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getEngine()
 Must be Redis. | 
| String | getUserGroupId()
 The ID of the user group. | 
| List<String> | getUserIds()
 The list of user IDs that belong to the user group. | 
| int | hashCode() | 
| void | setEngine(String engine)
 Must be Redis. | 
| void | setUserGroupId(String userGroupId)
 The ID of the user group. | 
| void | setUserIds(Collection<String> userIds)
 The list of user IDs that belong to the user group. | 
| String | toString()Returns a string representation of this object. | 
| CreateUserGroupRequest | withEngine(String engine)
 Must be Redis. | 
| CreateUserGroupRequest | withUserGroupId(String userGroupId)
 The ID of the user group. | 
| CreateUserGroupRequest | withUserIds(Collection<String> userIds)
 The list of user IDs that belong to the user group. | 
| CreateUserGroupRequest | withUserIds(String... userIds)
 The list of user IDs that belong to the user group. | 
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, withSdkRequestTimeoutpublic void setUserGroupId(String userGroupId)
The ID of the user group.
userGroupId - The ID of the user group.public String getUserGroupId()
The ID of the user group.
public CreateUserGroupRequest withUserGroupId(String userGroupId)
The ID of the user group.
userGroupId - The ID of the user group.public void setEngine(String engine)
Must be Redis.
engine - Must be Redis.public String getEngine()
Must be Redis.
public CreateUserGroupRequest withEngine(String engine)
Must be Redis.
engine - Must be Redis.public List<String> getUserIds()
The list of user IDs that belong to the user group.
public void setUserIds(Collection<String> userIds)
The list of user IDs that belong to the user group.
userIds - The list of user IDs that belong to the user group.public CreateUserGroupRequest withUserIds(String... userIds)
The list of user IDs that belong to the user group.
 NOTE: This method appends the values to the existing list (if any). Use
 setUserIds(java.util.Collection) or withUserIds(java.util.Collection) if you want to override
 the existing values.
 
userIds - The list of user IDs that belong to the user group.public CreateUserGroupRequest withUserIds(Collection<String> userIds)
The list of user IDs that belong to the user group.
userIds - The list of user IDs that belong to the user group.public String toString()
toString in class ObjectObject.toString()public CreateUserGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()