@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsToResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Associates a set of tags with an AWS DMS resource.
NOOP| Constructor and Description |
|---|
AddTagsToResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceArn()
Identifies the AWS DMS resource to which tags should be added.
|
List<Tag> |
getTags()
One or more tags to be assigned to the resource.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
Identifies the AWS DMS resource to which tags should be added.
|
void |
setTags(Collection<Tag> tags)
One or more tags to be assigned to the resource.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsToResourceRequest |
withResourceArn(String resourceArn)
Identifies the AWS DMS resource to which tags should be added.
|
AddTagsToResourceRequest |
withTags(Collection<Tag> tags)
One or more tags to be assigned to the resource.
|
AddTagsToResourceRequest |
withTags(Tag... tags)
One or more tags to be assigned to the resource.
|
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 void setResourceArn(String resourceArn)
Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).
For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.
resourceArn - Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon
Resource Name (ARN).
For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.
public String getResourceArn()
Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).
For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.
For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.
public AddTagsToResourceRequest withResourceArn(String resourceArn)
Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon Resource Name (ARN).
For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.
resourceArn - Identifies the AWS DMS resource to which tags should be added. The value for this parameter is an Amazon
Resource Name (ARN).
For AWS DMS, you can tag a replication instance, an endpoint, or a replication task.
public List<Tag> getTags()
One or more tags to be assigned to the resource.
public void setTags(Collection<Tag> tags)
One or more tags to be assigned to the resource.
tags - One or more tags to be assigned to the resource.public AddTagsToResourceRequest withTags(Tag... tags)
One or more tags to be assigned to the 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 - One or more tags to be assigned to the resource.public AddTagsToResourceRequest withTags(Collection<Tag> tags)
One or more tags to be assigned to the resource.
tags - One or more tags to be assigned to the resource.public String toString()
toString in class ObjectObject.toString()public AddTagsToResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()