@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourcesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TagResourcesRequest() |
Modifier and Type | Method and Description |
---|---|
TagResourcesRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
TagResourcesRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
TagResourcesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getResourceARNList()
Specifies the list of ARNs of the resources that you want to apply tags to.
|
Map<String,String> |
getTags()
Specifies a list of tags that you want to add to the specified resources.
|
int |
hashCode() |
void |
setResourceARNList(Collection<String> resourceARNList)
Specifies the list of ARNs of the resources that you want to apply tags to.
|
void |
setTags(Map<String,String> tags)
Specifies a list of tags that you want to add to the specified resources.
|
String |
toString()
Returns a string representation of this object.
|
TagResourcesRequest |
withResourceARNList(Collection<String> resourceARNList)
Specifies the list of ARNs of the resources that you want to apply tags to.
|
TagResourcesRequest |
withResourceARNList(String... resourceARNList)
Specifies the list of ARNs of the resources that you want to apply tags to.
|
TagResourcesRequest |
withTags(Map<String,String> tags)
Specifies a list of tags that you want to add to the specified resources.
|
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 List<String> getResourceARNList()
Specifies the list of ARNs of the resources that you want to apply tags to.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
public void setResourceARNList(Collection<String> resourceARNList)
Specifies the list of ARNs of the resources that you want to apply tags to.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
resourceARNList
- Specifies the list of ARNs of the resources that you want to apply tags to.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
public TagResourcesRequest withResourceARNList(String... resourceARNList)
Specifies the list of ARNs of the resources that you want to apply tags to.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
NOTE: This method appends the values to the existing list (if any). Use
setResourceARNList(java.util.Collection)
or withResourceARNList(java.util.Collection)
if you
want to override the existing values.
resourceARNList
- Specifies the list of ARNs of the resources that you want to apply tags to.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
public TagResourcesRequest withResourceARNList(Collection<String> resourceARNList)
Specifies the list of ARNs of the resources that you want to apply tags to.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
resourceARNList
- Specifies the list of ARNs of the resources that you want to apply tags to.
An ARN (Amazon Resource Name) uniquely identifies a resource. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
public Map<String,String> getTags()
Specifies a list of tags that you want to add to the specified resources. A tag consists of a key and a value that you define.
public void setTags(Map<String,String> tags)
Specifies a list of tags that you want to add to the specified resources. A tag consists of a key and a value that you define.
tags
- Specifies a list of tags that you want to add to the specified resources. A tag consists of a key and a
value that you define.public TagResourcesRequest withTags(Map<String,String> tags)
Specifies a list of tags that you want to add to the specified resources. A tag consists of a key and a value that you define.
tags
- Specifies a list of tags that you want to add to the specified resources. A tag consists of a key and a
value that you define.public TagResourcesRequest addTagsEntry(String key, String value)
public TagResourcesRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public TagResourcesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()