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 request.
|
boolean |
equals(Object obj) |
String |
getFileSystemId()
String.
|
List<Tag> |
getTags()
An array of
Tag objects to add. |
int |
hashCode() |
void |
setFileSystemId(String fileSystemId)
String.
|
void |
setTags(Collection<Tag> tags)
An array of
Tag objects to add. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTagsRequest |
withFileSystemId(String fileSystemId)
String.
|
CreateTagsRequest |
withTags(Collection<Tag> tags)
An array of
Tag objects to add. |
CreateTagsRequest |
withTags(Tag... tags)
An array of
Tag objects to add. |
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFileSystemId(String fileSystemId)
String. The ID of the file system whose tags you want to modify. This operation modifies only the tags and not the file system.
fileSystemId - String. The ID of the file system whose tags you want to modify.
This operation modifies only the tags and not the file system.public String getFileSystemId()
String. The ID of the file system whose tags you want to modify. This operation modifies only the tags and not the file system.
public CreateTagsRequest withFileSystemId(String fileSystemId)
String. The ID of the file system whose tags you want to modify. This operation modifies only the tags and not the file system.
fileSystemId - String. The ID of the file system whose tags you want to modify.
This operation modifies only the tags and 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 ObjectObject.toString()public CreateTagsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.