public class AddTagsToResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AddTagsToResourceRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsToResourceRequest |
clone()
Creates a shallow clone of this request.
|
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, withSdkRequestTimeout
public 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 Object
Object.toString()
public AddTagsToResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.