@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGroupRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateGroupRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name for the group.
|
Map<String,String> |
getTags()
A list of key-value pairs to associate with the group.
|
int |
hashCode() |
void |
setName(String name)
The name for the group.
|
void |
setTags(Map<String,String> tags)
A list of key-value pairs to associate with the group.
|
String |
toString()
Returns a string representation of this object.
|
CreateGroupRequest |
withName(String name)
The name for the group.
|
CreateGroupRequest |
withTags(Map<String,String> tags)
A list of key-value pairs to associate with the 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 setName(String name)
The name for the group. It can include any Unicode characters.
The names for all groups in your account, across all Regions, must be unique.
name
- The name for the group. It can include any Unicode characters.
The names for all groups in your account, across all Regions, must be unique.
public String getName()
The name for the group. It can include any Unicode characters.
The names for all groups in your account, across all Regions, must be unique.
The names for all groups in your account, across all Regions, must be unique.
public CreateGroupRequest withName(String name)
The name for the group. It can include any Unicode characters.
The names for all groups in your account, across all Regions, must be unique.
name
- The name for the group. It can include any Unicode characters.
The names for all groups in your account, across all Regions, must be unique.
public Map<String,String> getTags()
A list of key-value pairs to associate with the group. You can associate as many as 50 tags with a group.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
public void setTags(Map<String,String> tags)
A list of key-value pairs to associate with the group. You can associate as many as 50 tags with a group.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
tags
- A list of key-value pairs to associate with the group. You can associate as many as 50 tags with a
group.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
public CreateGroupRequest withTags(Map<String,String> tags)
A list of key-value pairs to associate with the group. You can associate as many as 50 tags with a group.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
tags
- A list of key-value pairs to associate with the group. You can associate as many as 50 tags with a
group.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions, by granting a user permission to access or change only the resources that have certain tag values.
public CreateGroupRequest addTagsEntry(String key, String value)
public CreateGroupRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()