@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TagResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
TagResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The ID specifying the EFS resource that you want to create a tag for.
|
List<Tag> |
getTags()
An array of
Tag objects to add. |
int |
hashCode() |
void |
setResourceId(String resourceId)
The ID specifying the EFS resource that you want to create a tag for.
|
void |
setTags(Collection<Tag> tags)
An array of
Tag objects to add. |
String |
toString()
Returns a string representation of this object.
|
TagResourceRequest |
withResourceId(String resourceId)
The ID specifying the EFS resource that you want to create a tag for.
|
TagResourceRequest |
withTags(Collection<Tag> tags)
An array of
Tag objects to add. |
TagResourceRequest |
withTags(Tag... tags)
An array of
Tag objects to add. |
addHandlerContext, copyBaseTo, 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 setResourceId(String resourceId)
The ID specifying the EFS resource that you want to create a tag for.
resourceId - The ID specifying the EFS resource that you want to create a tag for.public String getResourceId()
The ID specifying the EFS resource that you want to create a tag for.
public TagResourceRequest withResourceId(String resourceId)
The ID specifying the EFS resource that you want to create a tag for.
resourceId - The ID specifying the EFS resource that you want to create a tag for.public List<Tag> getTags()
An array of Tag objects to add. Each Tag object is a key-value pair.
Tag objects to add. Each Tag object is a key-value pair.public void setTags(Collection<Tag> tags)
An array of Tag objects to add. Each Tag object is a key-value pair.
tags - An array of Tag objects to add. Each Tag object is a key-value pair.public TagResourceRequest withTags(Tag... tags)
An array of Tag objects to add. Each Tag object is a key-value pair.
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 - An array of Tag objects to add. Each Tag object is a key-value pair.public TagResourceRequest withTags(Collection<Tag> tags)
An array of Tag objects to add. Each Tag object is a key-value pair.
tags - An array of Tag objects to add. Each Tag object is a key-value pair.public String toString()
toString in class ObjectObject.toString()public TagResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.