@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsToResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AddTagsToResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to.
|
List<Tag> |
getTags()
The tag to be assigned to the DMS resource.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to.
|
void |
setTags(Collection<Tag> tags)
The tag to be assigned to the DMS resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AddTagsToResourceRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to.
|
AddTagsToResourceRequest |
withTags(Collection<Tag> tags)
The tag to be assigned to the DMS resource.
|
AddTagsToResourceRequest |
withTags(Tag... tags)
The tag to be assigned to the DMS resource.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources include a replication instance, endpoint, and a replication task.
resourceArn - The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources
include a replication instance, endpoint, and a replication task.public String getResourceArn()
The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources include a replication instance, endpoint, and a replication task.
public AddTagsToResourceRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources include a replication instance, endpoint, and a replication task.
resourceArn - The Amazon Resource Name (ARN) of the AWS DMS resource the tag is to be added to. AWS DMS resources
include a replication instance, endpoint, and a replication task.public List<Tag> getTags()
The tag to be assigned to the DMS resource.
public void setTags(Collection<Tag> tags)
The tag to be assigned to the DMS resource.
tags - The tag to be assigned to the DMS resource.public AddTagsToResourceRequest withTags(Tag... tags)
The tag to be assigned to the DMS resource.
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 - The tag to be assigned to the DMS resource.public AddTagsToResourceRequest withTags(Collection<Tag> tags)
The tag to be assigned to the DMS resource.
tags - The tag to be assigned to the DMS resource.public String toString()
toString in class ObjectObject.toString()public AddTagsToResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.