public class CreateTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fileSystemId
String.
|
private SdkInternalList<Tag> |
tags
An array of
Tag objects to add. |
NOOP
Constructor and Description |
---|
CreateTagsRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFileSystemId()
String.
|
java.util.List<Tag> |
getTags()
An array of
Tag objects to add. |
int |
hashCode() |
void |
setFileSystemId(java.lang.String fileSystemId)
String.
|
void |
setTags(java.util.Collection<Tag> tags)
An array of
Tag objects to add. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateTagsRequest |
withFileSystemId(java.lang.String fileSystemId)
String.
|
CreateTagsRequest |
withTags(java.util.Collection<Tag> tags)
An array of
Tag objects to add. |
CreateTagsRequest |
withTags(Tag... tags)
An array of
Tag objects to add. |
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 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.
private SdkInternalList<Tag> tags
An array of Tag
objects to add. Each Tag
object
is a key-value pair.
public void setFileSystemId(java.lang.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 java.lang.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(java.lang.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 java.util.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(java.util.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(java.util.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 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 CreateTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()