public class DeleteTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The request of the delete tags action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
resourceId
The resource ID of the request.
|
private SdkInternalList<java.lang.String> |
tagKeys
The tag keys of the request.
|
NOOP
Constructor and Description |
---|
DeleteTagsRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceId()
The resource ID of the request.
|
java.util.List<java.lang.String> |
getTagKeys()
The tag keys of the request.
|
int |
hashCode() |
void |
setResourceId(java.lang.String resourceId)
The resource ID of the request.
|
void |
setTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag keys of the request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteTagsRequest |
withResourceId(java.lang.String resourceId)
The resource ID of the request.
|
DeleteTagsRequest |
withTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag keys of the request.
|
DeleteTagsRequest |
withTagKeys(java.lang.String... tagKeys)
The tag keys of the request.
|
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
private java.lang.String resourceId
The resource ID of the request.
private SdkInternalList<java.lang.String> tagKeys
The tag keys of the request.
public void setResourceId(java.lang.String resourceId)
The resource ID of the request.
resourceId
- The resource ID of the request.public java.lang.String getResourceId()
The resource ID of the request.
public DeleteTagsRequest withResourceId(java.lang.String resourceId)
The resource ID of the request.
resourceId
- The resource ID of the request.public java.util.List<java.lang.String> getTagKeys()
The tag keys of the request.
public void setTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag keys of the request.
tagKeys
- The tag keys of the request.public DeleteTagsRequest withTagKeys(java.lang.String... tagKeys)
The tag keys of the request.
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 keys of the request.public DeleteTagsRequest withTagKeys(java.util.Collection<java.lang.String> tagKeys)
The tag keys of the request.
tagKeys
- The tag keys of the request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DeleteTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()