@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UntagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UntagResourceRequest() |
Modifier and Type | Method and Description |
---|---|
UntagResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getResourceArn()
Required.
|
List<String> |
getTagKeys()
Required.
|
int |
hashCode() |
void |
setResourceArn(String resourceArn)
Required.
|
void |
setTagKeys(Collection<String> tagKeys)
Required.
|
String |
toString()
Returns a string representation of this object.
|
UntagResourceRequest |
withResourceArn(String resourceArn)
Required.
|
UntagResourceRequest |
withTagKeys(Collection<String> tagKeys)
Required.
|
UntagResourceRequest |
withTagKeys(String... tagKeys)
Required.
|
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)
Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.
resourceArn
- Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.public String getResourceArn()
Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.
public UntagResourceRequest withResourceArn(String resourceArn)
Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.
resourceArn
- Required. The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.public List<String> getTagKeys()
Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.
public void setTagKeys(Collection<String> tagKeys)
Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.
tagKeys
- Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.public UntagResourceRequest withTagKeys(String... tagKeys)
Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.
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
- Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.public UntagResourceRequest withTagKeys(Collection<String> tagKeys)
Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.
tagKeys
- Required. A list of key names of tags to be removed. Number of strings allowed: 0-256.public String toString()
toString
in class Object
Object.toString()
public UntagResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()