Class CreateTagsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A list of configuration items that you want to tag.getTags()
Tags that you want to associate with one or more configuration items.int
hashCode()
void
setConfigurationIds
(Collection<String> configurationIds) A list of configuration items that you want to tag.void
setTags
(Collection<Tag> tags) Tags that you want to associate with one or more configuration items.toString()
Returns a string representation of this object; useful for testing and debugging.withConfigurationIds
(String... configurationIds) A list of configuration items that you want to tag.withConfigurationIds
(Collection<String> configurationIds) A list of configuration items that you want to tag.Tags that you want to associate with one or more configuration items.withTags
(Collection<Tag> tags) Tags that you want to associate with one or more configuration items.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateTagsRequest
public CreateTagsRequest()
-
-
Method Details
-
getConfigurationIds
A list of configuration items that you want to tag.
- Returns:
- A list of configuration items that you want to tag.
-
setConfigurationIds
A list of configuration items that you want to tag.
- Parameters:
configurationIds
- A list of configuration items that you want to tag.
-
withConfigurationIds
A list of configuration items that you want to tag.
NOTE: This method appends the values to the existing list (if any). Use
setConfigurationIds(java.util.Collection)
orwithConfigurationIds(java.util.Collection)
if you want to override the existing values.- Parameters:
configurationIds
- A list of configuration items that you want to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withConfigurationIds
A list of configuration items that you want to tag.
- Parameters:
configurationIds
- A list of configuration items that you want to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
{"key": "serverType", "value": "webServer"}
- Returns:
- Tags that you want to associate with one or more configuration
items. Specify the tags that you want to create in a
key-value format. For example:
{"key": "serverType", "value": "webServer"}
-
setTags
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
{"key": "serverType", "value": "webServer"}
- Parameters:
tags
- Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:{"key": "serverType", "value": "webServer"}
-
withTags
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
{"key": "serverType", "value": "webServer"}
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:{"key": "serverType", "value": "webServer"}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
{"key": "serverType", "value": "webServer"}
- Parameters:
tags
- Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:{"key": "serverType", "value": "webServer"}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-