@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) |
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 file gateway.
|
String |
getGatewayARN()
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
|
Boolean |
getKMSEncrypted()
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 KMS key used for Amazon S3 server side encryption.
|
String |
getLocationARN()
The ARN of the backed storage used for storing file data.
|
NFSFileShareDefaults |
getNFSFileShareDefaults()
File share default values.
|
Boolean |
getReadOnly()
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
|
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()
Maps a user to anonymous user.
|
int |
hashCode() |
Boolean |
isKMSEncrypted()
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()
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
|
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 file gateway.
|
void |
setGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
|
void |
setKMSEncrypted(Boolean kMSEncrypted)
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 KMS key used for Amazon S3 server side encryption.
|
void |
setLocationARN(String locationARN)
The ARN of the backed storage used for storing file data.
|
void |
setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
File share default values.
|
void |
setReadOnly(Boolean readOnly)
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
|
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)
Maps a user to anonymous user.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 file gateway.
|
CreateNFSFileShareRequest |
withGatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
|
CreateNFSFileShareRequest |
withKMSEncrypted(Boolean kMSEncrypted)
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 KMS key used for Amazon S3 server side encryption.
|
CreateNFSFileShareRequest |
withLocationARN(String locationARN)
The ARN of the backed storage used for storing file data.
|
CreateNFSFileShareRequest |
withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
File share default values.
|
CreateNFSFileShareRequest |
withReadOnly(Boolean readOnly)
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
|
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)
Maps a user to anonymous user.
|
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)
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.
kMSEncrypted
- 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.public Boolean getKMSEncrypted()
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.
public CreateNFSFileShareRequest withKMSEncrypted(Boolean kMSEncrypted)
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.
kMSEncrypted
- 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.public Boolean isKMSEncrypted()
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.
public void setKMSKey(String kMSKey)
The KMS key used for Amazon S3 server side encryption. This value can only be set when KmsEncrypted is true. Optional.
kMSKey
- The KMS key used for Amazon S3 server side encryption. This value can only be set when KmsEncrypted is
true. Optional.public String getKMSKey()
The KMS key used for Amazon S3 server side encryption. This value can only be set when KmsEncrypted is true. Optional.
public CreateNFSFileShareRequest withKMSKey(String kMSKey)
The KMS key used for Amazon S3 server side encryption. This value can only be set when KmsEncrypted is true. Optional.
kMSKey
- The KMS key used for Amazon S3 server side encryption. 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 backed storage used for storing file data.
locationARN
- The ARN of the backed storage used for storing file data.public String getLocationARN()
The ARN of the backed storage used for storing file data.
public CreateNFSFileShareRequest withLocationARN(String locationARN)
The ARN of the backed storage used for storing file data.
locationARN
- The ARN of the backed storage used for storing file data.public void setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are
S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used.
Optional.public String getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
public CreateNFSFileShareRequest withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are
S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used.
Optional.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)
Maps a user to anonymous user. Valid options 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
- Maps a user to anonymous user. Valid options 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()
Maps a user to anonymous user. Valid options 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.
"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)
Maps a user to anonymous user. Valid options 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
- Maps a user to anonymous user. Valid options 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)
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
readOnly
- Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".public Boolean getReadOnly()
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
public CreateNFSFileShareRequest withReadOnly(Boolean readOnly)
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
readOnly
- Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".public Boolean isReadOnly()
Sets the write status of a file share: "true" if the write status is read-only, and otherwise "false".
public String toString()
toString
in class Object
Object.toString()
public CreateNFSFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.