@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTagsForDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The UpdateTagsForDomainRequest includes the following elements.
NOOP
Constructor and Description |
---|
UpdateTagsForDomainRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTagsForDomainRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainName()
The domain for which you want to add or update tags.
|
List<Tag> |
getTagsToUpdate()
A list of the tag keys and values that you want to add or update.
|
int |
hashCode() |
void |
setDomainName(String domainName)
The domain for which you want to add or update tags.
|
void |
setTagsToUpdate(Collection<Tag> tagsToUpdate)
A list of the tag keys and values that you want to add or update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTagsForDomainRequest |
withDomainName(String domainName)
The domain for which you want to add or update tags.
|
UpdateTagsForDomainRequest |
withTagsToUpdate(Collection<Tag> tagsToUpdate)
A list of the tag keys and values that you want to add or update.
|
UpdateTagsForDomainRequest |
withTagsToUpdate(Tag... tagsToUpdate)
A list of the tag keys and values that you want to add or update.
|
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 void setDomainName(String domainName)
The domain for which you want to add or update tags.
domainName
- The domain for which you want to add or update tags.public String getDomainName()
The domain for which you want to add or update tags.
public UpdateTagsForDomainRequest withDomainName(String domainName)
The domain for which you want to add or update tags.
domainName
- The domain for which you want to add or update tags.public List<Tag> getTagsToUpdate()
A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
public void setTagsToUpdate(Collection<Tag> tagsToUpdate)
A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
tagsToUpdate
- A list of the tag keys and values that you want to add or update. If you specify a key that already
exists, the corresponding value will be replaced.public UpdateTagsForDomainRequest withTagsToUpdate(Tag... tagsToUpdate)
A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
NOTE: This method appends the values to the existing list (if any). Use
setTagsToUpdate(java.util.Collection)
or withTagsToUpdate(java.util.Collection)
if you want to
override the existing values.
tagsToUpdate
- A list of the tag keys and values that you want to add or update. If you specify a key that already
exists, the corresponding value will be replaced.public UpdateTagsForDomainRequest withTagsToUpdate(Collection<Tag> tagsToUpdate)
A list of the tag keys and values that you want to add or update. If you specify a key that already exists, the corresponding value will be replaced.
tagsToUpdate
- A list of the tag keys and values that you want to add or update. If you specify a key that already
exists, the corresponding value will be replaced.public String toString()
toString
in class Object
Object.toString()
public UpdateTagsForDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()