@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TagResourceRequest() |
Modifier and Type | Method and Description |
---|---|
TagResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceId()
The cluster identifier (ID) for the cluster that you are tagging.
|
List<Tag> |
getTagList()
A list of one or more tags.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
The cluster identifier (ID) for the cluster that you are tagging.
|
void |
setTagList(Collection<Tag> tagList)
A list of one or more tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TagResourceRequest |
withResourceId(String resourceId)
The cluster identifier (ID) for the cluster that you are tagging.
|
TagResourceRequest |
withTagList(Collection<Tag> tagList)
A list of one or more tags.
|
TagResourceRequest |
withTagList(Tag... tagList)
A list of one or more 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 cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.
resourceId
- The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use
DescribeClusters.public String getResourceId()
The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.
public TagResourceRequest withResourceId(String resourceId)
The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use DescribeClusters.
resourceId
- The cluster identifier (ID) for the cluster that you are tagging. To find the cluster ID, use
DescribeClusters.public List<Tag> getTagList()
A list of one or more tags.
public void setTagList(Collection<Tag> tagList)
A list of one or more tags.
tagList
- A list of one or more tags.public TagResourceRequest withTagList(Tag... tagList)
A list of one or more tags.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
or withTagList(java.util.Collection)
if you want to override
the existing values.
tagList
- A list of one or more tags.public TagResourceRequest withTagList(Collection<Tag> tagList)
A list of one or more tags.
tagList
- A list of one or more tags.public String toString()
toString
in class Object
Object.toString()
public TagResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.