@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) |
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 |
getDescription()
The description of the resource group.
|
String |
getName()
The name of the group, which is the identifier of the group in other operations.
|
ResourceQuery |
getResourceQuery()
The resource query that determines which AWS resources are members of this group.
|
Map<String,String> |
getTags()
The tags to add to the group.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the resource group.
|
void |
setName(String name)
The name of the group, which is the identifier of the group in other operations.
|
void |
setResourceQuery(ResourceQuery resourceQuery)
The resource query that determines which AWS resources are members of this group.
|
void |
setTags(Map<String,String> tags)
The tags to add to the group.
|
String |
toString()
Returns a string representation of this object.
|
CreateGroupRequest |
withDescription(String description)
The description of the resource group.
|
CreateGroupRequest |
withName(String name)
The name of the group, which is the identifier of the group in other operations.
|
CreateGroupRequest |
withResourceQuery(ResourceQuery resourceQuery)
The resource query that determines which AWS resources are members of this group.
|
CreateGroupRequest |
withTags(Map<String,String> tags)
The tags to add to 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 of the group, which is the identifier of the group in other operations. A resource group name cannot be
updated after it is created. A resource group name can have a maximum of 128 characters, including letters,
numbers, hyphens, dots, and underscores. The name cannot start with AWS
or aws
; these
are reserved. A resource group name must be unique within your account.
name
- The name of the group, which is the identifier of the group in other operations. A resource group name
cannot be updated after it is created. A resource group name can have a maximum of 128 characters,
including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS
or
aws
; these are reserved. A resource group name must be unique within your account.public String getName()
The name of the group, which is the identifier of the group in other operations. A resource group name cannot be
updated after it is created. A resource group name can have a maximum of 128 characters, including letters,
numbers, hyphens, dots, and underscores. The name cannot start with AWS
or aws
; these
are reserved. A resource group name must be unique within your account.
AWS
or aws
; these are reserved. A resource group name must be unique within your account.public CreateGroupRequest withName(String name)
The name of the group, which is the identifier of the group in other operations. A resource group name cannot be
updated after it is created. A resource group name can have a maximum of 128 characters, including letters,
numbers, hyphens, dots, and underscores. The name cannot start with AWS
or aws
; these
are reserved. A resource group name must be unique within your account.
name
- The name of the group, which is the identifier of the group in other operations. A resource group name
cannot be updated after it is created. A resource group name can have a maximum of 128 characters,
including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS
or
aws
; these are reserved. A resource group name must be unique within your account.public void setDescription(String description)
The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
description
- The description of the resource group. Descriptions can have a maximum of 511 characters, including
letters, numbers, hyphens, underscores, punctuation, and spaces.public String getDescription()
The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
public CreateGroupRequest withDescription(String description)
The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.
description
- The description of the resource group. Descriptions can have a maximum of 511 characters, including
letters, numbers, hyphens, underscores, punctuation, and spaces.public void setResourceQuery(ResourceQuery resourceQuery)
The resource query that determines which AWS resources are members of this group.
resourceQuery
- The resource query that determines which AWS resources are members of this group.public ResourceQuery getResourceQuery()
The resource query that determines which AWS resources are members of this group.
public CreateGroupRequest withResourceQuery(ResourceQuery resourceQuery)
The resource query that determines which AWS resources are members of this group.
resourceQuery
- The resource query that determines which AWS resources are members of this group.public Map<String,String> getTags()
The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
public void setTags(Map<String,String> tags)
The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a
maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.public CreateGroupRequest withTags(Map<String,String> tags)
The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
tags
- The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a
maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.