@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
CreateTagsRequest |
withConfigurationIds(Collection<String> configurationIds)
A list of configuration items that you want to tag.
|
CreateTagsRequest |
withConfigurationIds(String... configurationIds)
A list of configuration items that you want to tag.
|
CreateTagsRequest |
withTags(Collection<Tag> tags)
Tags that you want to associate with one or more configuration items.
|
CreateTagsRequest |
withTags(Tag... tags)
Tags that you want to associate with one or more configuration items.
|
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, withSdkRequestTimeoutpublic List<String> getConfigurationIds()
A list of configuration items that you want to tag.
public void setConfigurationIds(Collection<String> configurationIds)
A list of configuration items that you want to tag.
configurationIds - A list of configuration items that you want to tag.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) or withConfigurationIds(java.util.Collection) if you
want to override the existing values.
configurationIds - A list of configuration items that you want to tag.public CreateTagsRequest withConfigurationIds(Collection<String> configurationIds)
A list of configuration items that you want to tag.
configurationIds - A list of configuration items that you want to tag.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"}
{"key": "serverType", "value": "webServer"}
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"}
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"}
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) or withTags(java.util.Collection) if you want to override the
existing values.
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"}
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"}
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"}
public String toString()
toString in class ObjectObject.toString()public CreateTagsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()