@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateNFSFileShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateNFSFileShareInput
NOOP
Constructor and Description |
---|
CreateNFSFileShareRequest() |
Modifier and Type | Method and Description |
---|---|
CreateNFSFileShareRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
CacheAttributes |
getCacheAttributes()
Refresh cache information.
|
List<String> |
getClientList()
The list of clients that are allowed to access the file gateway.
|
String |
getClientToken()
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
|
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
String |
getFileShareName()
The name of the file share.
|
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
|
Boolean |
getGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
Boolean |
getKMSEncrypted()
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
String |
getKMSKey()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
String |
getLocationARN()
The ARN of the backend storage used for storing file data.
|
NFSFileShareDefaults |
getNFSFileShareDefaults()
File share default values.
|
String |
getNotificationPolicy()
The notification policy of the file share.
|
String |
getObjectACL()
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
Boolean |
getReadOnly()
A value that sets the write status of a file share.
|
Boolean |
getRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
String |
getRole()
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the
underlying storage.
|
String |
getSquash()
A value that maps a user to anonymous user.
|
List<Tag> |
getTags()
A list of up to 50 tags that can be assigned to the NFS file share.
|
int |
hashCode() |
Boolean |
isGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
Boolean |
isKMSEncrypted()
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
Boolean |
isReadOnly()
A value that sets the write status of a file share.
|
Boolean |
isRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
void |
setCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
|
void |
setClientList(Collection<String> clientList)
The list of clients that are allowed to access the file gateway.
|
void |
setClientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
|
void |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
void |
setFileShareName(String fileShareName)
The name of the file share.
|
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
|
void |
setGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
void |
setKMSEncrypted(Boolean kMSEncrypted)
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
void |
setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
void |
setLocationARN(String locationARN)
The ARN of the backend storage used for storing file data.
|
void |
setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
File share default values.
|
void |
setNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
void |
setObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
void |
setReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
void |
setRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
void |
setRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the
underlying storage.
|
void |
setSquash(String squash)
A value that maps a user to anonymous user.
|
void |
setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share.
|
String |
toString()
Returns a string representation of this object.
|
CreateNFSFileShareRequest |
withCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
|
CreateNFSFileShareRequest |
withClientList(Collection<String> clientList)
The list of clients that are allowed to access the file gateway.
|
CreateNFSFileShareRequest |
withClientList(String... clientList)
The list of clients that are allowed to access the file gateway.
|
CreateNFSFileShareRequest |
withClientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
|
CreateNFSFileShareRequest |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
CreateNFSFileShareRequest |
withFileShareName(String fileShareName)
The name of the file share.
|
CreateNFSFileShareRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
|
CreateNFSFileShareRequest |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
CreateNFSFileShareRequest |
withKMSEncrypted(Boolean kMSEncrypted)
Set to
true to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. |
CreateNFSFileShareRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
CreateNFSFileShareRequest |
withLocationARN(String locationARN)
The ARN of the backend storage used for storing file data.
|
CreateNFSFileShareRequest |
withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
File share default values.
|
CreateNFSFileShareRequest |
withNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
CreateNFSFileShareRequest |
withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
CreateNFSFileShareRequest |
withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into.
|
CreateNFSFileShareRequest |
withReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
CreateNFSFileShareRequest |
withRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
CreateNFSFileShareRequest |
withRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the
underlying storage.
|
CreateNFSFileShareRequest |
withSquash(String squash)
A value that maps a user to anonymous user.
|
CreateNFSFileShareRequest |
withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share.
|
CreateNFSFileShareRequest |
withTags(Tag... tags)
A list of up to 50 tags that can be assigned to the NFS file share.
|
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 setClientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
clientToken
- A unique string value that you supply that is used by file gateway to ensure idempotent file share
creation.public String getClientToken()
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
public CreateNFSFileShareRequest withClientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
clientToken
- A unique string value that you supply that is used by file gateway to ensure idempotent file share
creation.public void setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
File share default values. Optional.
nFSFileShareDefaults
- File share default values. Optional.public NFSFileShareDefaults getNFSFileShareDefaults()
File share default values. Optional.
public CreateNFSFileShareRequest withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
File share default values. Optional.
nFSFileShareDefaults
- File share default values. Optional.public void setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
gatewayARN
- The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.public String getGatewayARN()
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
public CreateNFSFileShareRequest withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
gatewayARN
- The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.public void setKMSEncrypted(Boolean kMSEncrypted)
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean getKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public CreateNFSFileShareRequest withKMSEncrypted(Boolean kMSEncrypted)
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean isKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own AWS KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own AWS KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public void setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
KMSEncrypted
is true
. Optional.public CreateNFSFileShareRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.public void setRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
role
- The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses
the underlying storage.public String getRole()
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
public CreateNFSFileShareRequest withRole(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
role
- The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses
the underlying storage.public void setLocationARN(String locationARN)
The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket name. It must end with a "/".
locationARN
- The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket
name. It must end with a "/".public String getLocationARN()
The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket name. It must end with a "/".
public CreateNFSFileShareRequest withLocationARN(String locationARN)
The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket name. It must end with a "/".
locationARN
- The ARN of the backend storage used for storing file data. A prefix name can be added to the S3 bucket
name. It must end with a "/".public void setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value is
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value
is S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
| S3_ONEZONE_IA
public String getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value is
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|
S3_STANDARD_IA
| S3_ONEZONE_IA
public CreateNFSFileShareRequest withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value is
S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the file gateway. The default value
is S3_INTELLIGENT_TIERING
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
| S3_ONEZONE_IA
public void setObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file
gateway puts objects into. The default value is private
.ObjectACL
public String getObjectACL()
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
private
.ObjectACL
public CreateNFSFileShareRequest withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file
gateway puts objects into. The default value is private
.ObjectACL
public CreateNFSFileShareRequest withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a file
gateway puts objects into. The default value is private
.ObjectACL
public List<String> getClientList()
The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.
public void setClientList(Collection<String> clientList)
The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.
clientList
- The list of clients that are allowed to access the file gateway. The list must contain either valid IP
addresses or valid CIDR blocks.public CreateNFSFileShareRequest withClientList(String... clientList)
The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.
NOTE: This method appends the values to the existing list (if any). Use
setClientList(java.util.Collection)
or withClientList(java.util.Collection)
if you want to
override the existing values.
clientList
- The list of clients that are allowed to access the file gateway. The list must contain either valid IP
addresses or valid CIDR blocks.public CreateNFSFileShareRequest withClientList(Collection<String> clientList)
The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks.
clientList
- The list of clients that are allowed to access the file gateway. The list must contain either valid IP
addresses or valid CIDR blocks.public void setSquash(String squash)
A value that maps a user to anonymous user.
Valid values are the following:
RootSquash
: Only root is mapped to anonymous user.
NoSquash
: No one is mapped to anonymous user.
AllSquash
: Everyone is mapped to anonymous user.
squash
- A value that maps a user to anonymous user.
Valid values are the following:
RootSquash
: Only root is mapped to anonymous user.
NoSquash
: No one is mapped to anonymous user.
AllSquash
: Everyone is mapped to anonymous user.
public String getSquash()
A value that maps a user to anonymous user.
Valid values are the following:
RootSquash
: Only root is mapped to anonymous user.
NoSquash
: No one is mapped to anonymous user.
AllSquash
: Everyone is mapped to anonymous user.
Valid values are the following:
RootSquash
: Only root is mapped to anonymous user.
NoSquash
: No one is mapped to anonymous user.
AllSquash
: Everyone is mapped to anonymous user.
public CreateNFSFileShareRequest withSquash(String squash)
A value that maps a user to anonymous user.
Valid values are the following:
RootSquash
: Only root is mapped to anonymous user.
NoSquash
: No one is mapped to anonymous user.
AllSquash
: Everyone is mapped to anonymous user.
squash
- A value that maps a user to anonymous user.
Valid values are the following:
RootSquash
: Only root is mapped to anonymous user.
NoSquash
: No one is mapped to anonymous user.
AllSquash
: Everyone is mapped to anonymous user.
public void setReadOnly(Boolean readOnly)
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
readOnly
- A value that sets the write status of a file share. Set this value to true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public Boolean getReadOnly()
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public CreateNFSFileShareRequest withReadOnly(Boolean readOnly)
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
readOnly
- A value that sets the write status of a file share. Set this value to true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public Boolean isReadOnly()
A value that sets the write status of a file share. Set this value to true
to set the write status
to read-only, otherwise set to false
.
Valid Values: true
| false
true
to set the write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public void setGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
guessMIMETypeEnabled
- A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this
value to true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public Boolean getGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public CreateNFSFileShareRequest withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
guessMIMETypeEnabled
- A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this
value to true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public Boolean isGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to
true
to enable MIME type guessing, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public void setRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
requesterPays
- A value that sets who pays the cost of the request and the cost associated with data download from the S3
bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public Boolean getRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public CreateNFSFileShareRequest withRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
requesterPays
- A value that sets who pays the cost of the request and the cost associated with data download from the S3
bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public Boolean isRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public List<Tag> getTags()
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public void setTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateNFSFileShareRequest withTags(Tag... tags)
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
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
- A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public CreateNFSFileShareRequest withTags(Collection<Tag> tags)
A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
tags
- A list of up to 50 tags that can be assigned to the NFS file share. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public void setFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
public String getFileShareName()
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
public CreateNFSFileShareRequest withFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
.
public void setCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
cacheAttributes
- Refresh cache information.public CacheAttributes getCacheAttributes()
Refresh cache information.
public CreateNFSFileShareRequest withCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information.
cacheAttributes
- Refresh cache information.public void setNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
notificationPolicy
- The notification policy of the file share.public String getNotificationPolicy()
The notification policy of the file share.
public CreateNFSFileShareRequest withNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
notificationPolicy
- The notification policy of the file share.public String toString()
toString
in class Object
Object.toString()
public CreateNFSFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()