Class CreateTagsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.applicationdiscovery.model.CreateTagsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateTagsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTagsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
List<String>
getConfigurationIds()
A list of configuration items that you want to tag.List<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.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateTagsRequest
withConfigurationIds(String... configurationIds)
A list of configuration items that you want to tag.CreateTagsRequest
withConfigurationIds(Collection<String> configurationIds)
A list of configuration items that you want to tag.CreateTagsRequest
withTags(Tag... tags)
Tags that you want to associate with one or more configuration items.CreateTagsRequest
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
-
-
-
-
Method Detail
-
getConfigurationIds
public List<String> getConfigurationIds()
A list of configuration items that you want to tag.
- Returns:
- A list of configuration items that you want to tag.
-
setConfigurationIds
public void setConfigurationIds(Collection<String> configurationIds)
A list of configuration items that you want to tag.
- Parameters:
configurationIds
- A list of configuration items that you want to tag.
-
withConfigurationIds
public CreateTagsRequest withConfigurationIds(String... configurationIds)
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
public CreateTagsRequest withConfigurationIds(Collection<String> configurationIds)
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
public List<Tag> 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
public void setTags(Collection<Tag> 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"}
- 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
public CreateTagsRequest withTags(Tag... 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"}
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
public CreateTagsRequest withTags(Collection<Tag> 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"}
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateTagsRequest 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:
Object.clone()
-
-