@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTagsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getFileSystemId()
The ID of the file system whose tags you want to modify (String).
|
List<Tag> |
getTags()
An array of
Tag objects to add. |
int |
hashCode() |
void |
setFileSystemId(String fileSystemId)
The ID of the file system whose tags you want to modify (String).
|
void |
setTags(Collection<Tag> tags)
An array of
Tag objects to add. |
String |
toString()
Returns a string representation of this object.
|
CreateTagsRequest |
withFileSystemId(String fileSystemId)
The ID of the file system whose tags you want to modify (String).
|
CreateTagsRequest |
withTags(Collection<Tag> tags)
An array of
Tag objects to add. |
CreateTagsRequest |
withTags(Tag... tags)
An array of
Tag objects to add. |
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 setFileSystemId(String fileSystemId)
The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.
fileSystemId
- The ID of the file system whose tags you want to modify (String). This operation modifies the tags only,
not the file system.public String getFileSystemId()
The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.
public CreateTagsRequest withFileSystemId(String fileSystemId)
The ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.
fileSystemId
- The ID of the file system whose tags you want to modify (String). This operation modifies the tags only,
not the file system.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 CreateTagsRequest 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 CreateTagsRequest 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 Object
Object.toString()
public CreateTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()