@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 ID of the resource.
|
List<Tag> |
getTags()
The tags.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID of the resource.
|
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 ID of the resource.
|
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 ID of the resource.
resourceId - The ID of the resource.public String getResourceId()
The ID of the resource.
public CreateTagsRequest withResourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.public List<Tag> getTags()
The tags. Each resource can have a maximum of 50 tags.
public void setTags(Collection<Tag> tags)
The tags. Each resource can have a maximum of 50 tags.
tags - The tags. Each resource can have a maximum of 50 tags.public CreateTagsRequest withTags(Tag... tags)
The tags. Each 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 resource can have a maximum of 50 tags.public CreateTagsRequest withTags(Collection<Tag> tags)
The tags. Each resource can have a maximum of 50 tags.
tags - The tags. Each resource can have a maximum of 50 tags.public String toString()
toString in class ObjectObject.toString()public CreateTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.