public class CreateTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request of the CreateTags operation.
NOOP| Constructor and Description |
|---|
CreateTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The resource ID of the request.
|
List<Tag> |
getTags()
The tags of the request.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The resource ID of the request.
|
void |
setTags(Collection<Tag> tags)
The tags of the request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTagsRequest |
withResourceId(String resourceId)
The resource ID of the request.
|
CreateTagsRequest |
withTags(Collection<Tag> tags)
The tags of the request.
|
CreateTagsRequest |
withTags(Tag... tags)
The tags of the request.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceId(String resourceId)
The resource ID of the request.
resourceId - The resource ID of the request.public String getResourceId()
The resource ID of the request.
public CreateTagsRequest withResourceId(String resourceId)
The resource ID of the request.
resourceId - The resource ID of the request.public void setTags(Collection<Tag> tags)
The tags of the request.
tags - The tags of the request.public CreateTagsRequest withTags(Tag... tags)
The tags of the request.
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 of the request.public CreateTagsRequest withTags(Collection<Tag> tags)
The tags of the request.
tags - The tags of the request.public String toString()
toString in class ObjectObject.toString()public CreateTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.