@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 |
getResource()
The Amazon Resource Name (ARN) for the container.
|
List<String> |
getTagKeys()
A comma-separated list of keys for tags that you want to remove from the container.
|
int |
hashCode() |
void |
setResource(String resource)
The Amazon Resource Name (ARN) for the container.
|
void |
setTagKeys(Collection<String> tagKeys)
A comma-separated list of keys for tags that you want to remove from the container.
|
String |
toString()
Returns a string representation of this object.
|
UntagResourceRequest |
withResource(String resource)
The Amazon Resource Name (ARN) for the container.
|
UntagResourceRequest |
withTagKeys(Collection<String> tagKeys)
A comma-separated list of keys for tags that you want to remove from the container.
|
UntagResourceRequest |
withTagKeys(String... tagKeys)
A comma-separated list of keys for tags that you want to remove from the container.
|
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 setResource(String resource)
The Amazon Resource Name (ARN) for the container.
resource - The Amazon Resource Name (ARN) for the container.public String getResource()
The Amazon Resource Name (ARN) for the container.
public UntagResourceRequest withResource(String resource)
The Amazon Resource Name (ARN) for the container.
resource - The Amazon Resource Name (ARN) for the container.public List<String> getTagKeys()
A comma-separated list of keys for tags that you want to remove from the container. For example, if your container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags (priority:High), you specify the key for the tag that you want to remove (priority).
public void setTagKeys(Collection<String> tagKeys)
A comma-separated list of keys for tags that you want to remove from the container. For example, if your container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags (priority:High), you specify the key for the tag that you want to remove (priority).
tagKeys - A comma-separated list of keys for tags that you want to remove from the container. For example, if your
container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags
(priority:High), you specify the key for the tag that you want to remove (priority).public UntagResourceRequest withTagKeys(String... tagKeys)
A comma-separated list of keys for tags that you want to remove from the container. For example, if your container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags (priority:High), you specify the key for the tag that you want to remove (priority).
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 - A comma-separated list of keys for tags that you want to remove from the container. For example, if your
container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags
(priority:High), you specify the key for the tag that you want to remove (priority).public UntagResourceRequest withTagKeys(Collection<String> tagKeys)
A comma-separated list of keys for tags that you want to remove from the container. For example, if your container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags (priority:High), you specify the key for the tag that you want to remove (priority).
tagKeys - A comma-separated list of keys for tags that you want to remove from the container. For example, if your
container has two tags (customer:CompanyA and priority:High) and you want to remove one of the tags
(priority:High), you specify the key for the tag that you want to remove (priority).public String toString()
toString in class ObjectObject.toString()public UntagResourceRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()