@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RemoveTagsFromResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Removes one or more tags from an AWS DMS resource.
NOOP
Constructor and Description |
---|
RemoveTagsFromResourceRequest() |
Modifier and Type | Method and Description |
---|---|
RemoveTagsFromResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceArn()
An AWS DMS resource from which you want to remove tag(s).
|
List<String> |
getTagKeys()
The tag key (name) of the tag to be removed.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
An AWS DMS resource from which you want to remove tag(s).
|
void |
setTagKeys(Collection<String> tagKeys)
The tag key (name) of the tag to be removed.
|
String |
toString()
Returns a string representation of this object.
|
RemoveTagsFromResourceRequest |
withResourceArn(String resourceArn)
An AWS DMS resource from which you want to remove tag(s).
|
RemoveTagsFromResourceRequest |
withTagKeys(Collection<String> tagKeys)
The tag key (name) of the tag to be removed.
|
RemoveTagsFromResourceRequest |
withTagKeys(String... tagKeys)
The tag key (name) of the tag to be removed.
|
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 setResourceArn(String resourceArn)
An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).
resourceArn
- An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon
Resource Name (ARN).public String getResourceArn()
An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).
public RemoveTagsFromResourceRequest withResourceArn(String resourceArn)
An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).
resourceArn
- An AWS DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon
Resource Name (ARN).public List<String> getTagKeys()
The tag key (name) of the tag to be removed.
public void setTagKeys(Collection<String> tagKeys)
The tag key (name) of the tag to be removed.
tagKeys
- The tag key (name) of the tag to be removed.public RemoveTagsFromResourceRequest withTagKeys(String... tagKeys)
The tag key (name) of the tag to be removed.
NOTE: This method appends the values to the existing list (if any). Use
setTagKeys(java.util.Collection)
or withTagKeys(java.util.Collection)
if you want to override
the existing values.
tagKeys
- The tag key (name) of the tag to be removed.public RemoveTagsFromResourceRequest withTagKeys(Collection<String> tagKeys)
The tag key (name) of the tag to be removed.
tagKeys
- The tag key (name) of the tag to be removed.public String toString()
toString
in class Object
Object.toString()
public RemoveTagsFromResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()