@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceId()
The identifier of the WorkSpaces resource.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The identifier of the WorkSpaces resource.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object.
|
CreateTagsRequest |
withResourceId(String resourceId)
The identifier of the WorkSpaces resource.
|
CreateTagsRequest |
withTags(Collection<Tag> tags)
The tags.
|
CreateTagsRequest |
withTags(Tag... tags)
The tags.
|
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 setResourceId(String resourceId)
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.
resourceId - The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered
directories, images, custom bundles, and IP access control groups.public String getResourceId()
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.
public CreateTagsRequest withResourceId(String resourceId)
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, and IP access control groups.
resourceId - The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered
directories, images, custom bundles, and IP access control groups.public List<Tag> getTags()
The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of existing tags, you must submit all of the existing tags along with the new ones.
public void setTags(Collection<Tag> tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of existing tags, you must submit all of the existing tags along with the new ones.
tags - The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of
existing tags, you must submit all of the existing tags along with the new ones.public CreateTagsRequest withTags(Tag... tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of existing tags, you must submit all of the existing tags along with the new ones.
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 - The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of
existing tags, you must submit all of the existing tags along with the new ones.public CreateTagsRequest withTags(Collection<Tag> tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of existing tags, you must submit all of the existing tags along with the new ones.
tags - The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of
existing tags, you must submit all of the existing tags along with the new ones.public String toString()
toString in class ObjectObject.toString()public CreateTagsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.