@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.
|
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.
|
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.
|
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, withSdkRequestTimeout
public 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.
engine
- The current supported value is Redis.public String getEngine()
The current supported value is Redis.
public CreateUserGroupRequest withEngine(String engine)
The current supported value is Redis.
engine
- The current supported value is 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 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.
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.
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.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.
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.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.
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.public String toString()
toString
in class Object
Object.toString()
public CreateUserGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()