@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()
 The current supported value is Redis user. 
 | 
List<Tag> | 
getTags()
 A list of tags to be added to this resource. 
 | 
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)
 The current supported value is Redis user. 
 | 
void | 
setTags(Collection<Tag> tags)
 A list of tags to be added to this resource. 
 | 
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)
 The current supported value is Redis user. 
 | 
CreateUserGroupRequest | 
withTags(Collection<Tag> tags)
 A list of tags to be added to this resource. 
 | 
CreateUserGroupRequest | 
withTags(Tag... tags)
 A list of tags to be added to this resource. 
 | 
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)
The current supported value is Redis user.
engine - The current supported value is Redis user.public String getEngine()
The current supported value is Redis user.
public CreateUserGroupRequest withEngine(String engine)
The current supported value is Redis user.
engine - The current supported value is Redis user.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 List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. Available for Redis OSS only.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. Available for Redis OSS only.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted. Available for Redis OSS only.public CreateUserGroupRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. Available for Redis OSS only.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted. Available for Redis OSS only.public CreateUserGroupRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted. Available for Redis OSS only.
tags - A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
        tag value, although null is accepted. Available for Redis OSS only.public String toString()
toString in class ObjectObject.toString()public CreateUserGroupRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()