@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, withSdkRequestTimeout
public void setResourceId(String resourceId)
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
resourceId
- The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered
directories, images, custom bundles, IP access control groups, and connection aliases.public String getResourceId()
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
public CreateTagsRequest withResourceId(String resourceId)
The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered directories, images, custom bundles, IP access control groups, and connection aliases.
resourceId
- The identifier of the WorkSpaces resource. The supported resource types are WorkSpaces, registered
directories, images, custom bundles, IP access control groups, and connection aliases.public List<Tag> getTags()
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
public void setTags(Collection<Tag> tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
tags
- The tags. Each WorkSpaces resource can have a maximum of 50 tags.public CreateTagsRequest withTags(Tag... tags)
The tags. Each WorkSpaces resource 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 WorkSpaces resource can have a maximum of 50 tags.public CreateTagsRequest withTags(Collection<Tag> tags)
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
tags
- The tags. Each WorkSpaces resource can have a maximum of 50 tags.public String toString()
toString
in class Object
Object.toString()
public CreateTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()