@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() |
boolean |
equals(Object obj) |
String |
getResourceId()
The identifier of the WorkSpace.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The identifier of the WorkSpace.
|
void |
setTags(Collection<Tag> tags)
The tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTagsRequest |
withResourceId(String resourceId)
The identifier of the WorkSpace.
|
CreateTagsRequest |
withTags(Collection<Tag> tags)
The tags.
|
CreateTagsRequest |
withTags(Tag... tags)
The tags.
|
addHandlerContext, copyBaseTo, 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 WorkSpace. To find this ID, use DescribeWorkspaces.
resourceId - The identifier of the WorkSpace. To find this ID, use DescribeWorkspaces.public String getResourceId()
The identifier of the WorkSpace. To find this ID, use DescribeWorkspaces.
public CreateTagsRequest withResourceId(String resourceId)
The identifier of the WorkSpace. To find this ID, use DescribeWorkspaces.
resourceId - The identifier of the WorkSpace. To find this ID, use DescribeWorkspaces.public List<Tag> getTags()
The tags. Each WorkSpace can have a maximum of 50 tags.
public void setTags(Collection<Tag> tags)
The tags. Each WorkSpace can have a maximum of 50 tags.
tags - The tags. Each WorkSpace can have a maximum of 50 tags.public CreateTagsRequest withTags(Tag... tags)
The tags. Each WorkSpace can have a maximum of 50 tags.
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 WorkSpace can have a maximum of 50 tags.public CreateTagsRequest withTags(Collection<Tag> tags)
The tags. Each WorkSpace can have a maximum of 50 tags.
tags - The tags. Each WorkSpace can have a maximum of 50 tags.public String toString()
toString in class ObjectObject.toString()public CreateTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.