@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) |
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()
A list of ARNs.
|
Map<String,String> |
getTags()
The tags that you want to add to the specified resources.
|
int |
hashCode() |
void |
setResourceARNList(Collection<String> resourceARNList)
A list of ARNs.
|
void |
setTags(Map<String,String> tags)
The tags that you want to add to the specified resources.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TagResourcesRequest |
withResourceARNList(Collection<String> resourceARNList)
A list of ARNs.
|
TagResourcesRequest |
withResourceARNList(String... resourceARNList)
A list of ARNs.
|
TagResourcesRequest |
withTags(Map<String,String> tags)
The 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()
A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of 1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
public void setResourceARNList(Collection<String> resourceARNList)
A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of 1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
resourceARNList
- A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of
1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more
information, see Amazon Resource Names
(ARNs) and AWS Service Namespaces in the AWS General Reference.public TagResourcesRequest withResourceARNList(String... resourceARNList)
A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of 1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS 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
- A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of
1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more
information, see Amazon Resource Names
(ARNs) and AWS Service Namespaces in the AWS General Reference.public TagResourcesRequest withResourceARNList(Collection<String> resourceARNList)
A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of 1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
resourceARNList
- A list of ARNs. An ARN (Amazon Resource Name) uniquely identifies a resource. You can specify a minimum of
1 and a maximum of 20 ARNs (resources) to tag. An ARN can be set to a maximum of 1600 characters. For more
information, see Amazon Resource Names
(ARNs) and AWS Service Namespaces in the AWS General Reference.public Map<String,String> getTags()
The 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)
The tags that you want to add to the specified resources. A tag consists of a key and a value that you define.
tags
- The 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)
The tags that you want to add to the specified resources. A tag consists of a key and a value that you define.
tags
- The 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.