@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNFSFileShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateNFSFileShareInput
NOOP
Constructor and Description |
---|
UpdateNFSFileShareRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateNFSFileShareRequest |
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 |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by a file gateway.
|
String |
getFileShareARN()
The Amazon Resource Name (ARN) of the file share to be updated.
|
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.
|
NFSFileShareDefaults |
getNFSFileShareDefaults()
The default values for the file share.
|
Boolean |
getReadOnly()
Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".
|
String |
getSquash()
The user mapped 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, otherwise "false".
|
void |
setClientList(Collection<String> clientList)
The list of clients that are allowed to access the file gateway.
|
void |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by a file gateway.
|
void |
setFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the file share to be updated.
|
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 |
setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
The default values for the file share.
|
void |
setReadOnly(Boolean readOnly)
Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".
|
void |
setSquash(String squash)
The user mapped to anonymous user.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateNFSFileShareRequest |
withClientList(Collection<String> clientList)
The list of clients that are allowed to access the file gateway.
|
UpdateNFSFileShareRequest |
withClientList(String... clientList)
The list of clients that are allowed to access the file gateway.
|
UpdateNFSFileShareRequest |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by a file gateway.
|
UpdateNFSFileShareRequest |
withFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the file share to be updated.
|
UpdateNFSFileShareRequest |
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.
|
UpdateNFSFileShareRequest |
withKMSKey(String kMSKey)
The KMS key used for Amazon S3 server side encryption.
|
UpdateNFSFileShareRequest |
withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
The default values for the file share.
|
UpdateNFSFileShareRequest |
withReadOnly(Boolean readOnly)
Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".
|
UpdateNFSFileShareRequest |
withSquash(String squash)
The user mapped 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 setFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the file share to be updated.
fileShareARN
- The Amazon Resource Name (ARN) of the file share to be updated.public String getFileShareARN()
The Amazon Resource Name (ARN) of the file share to be updated.
public UpdateNFSFileShareRequest withFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the file share to be updated.
fileShareARN
- The Amazon Resource Name (ARN) of the file share to be updated.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 UpdateNFSFileShareRequest 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 UpdateNFSFileShareRequest 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 setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
The default values for the file share. Optional.
nFSFileShareDefaults
- The default values for the file share. Optional.public NFSFileShareDefaults getNFSFileShareDefaults()
The default values for the file share. Optional.
public UpdateNFSFileShareRequest withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
The default values for the file share. Optional.
nFSFileShareDefaults
- The default values for the file share. Optional.public void setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by a 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 a 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 a 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 UpdateNFSFileShareRequest withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by a 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 a 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 UpdateNFSFileShareRequest 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 UpdateNFSFileShareRequest 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)
The user mapped 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
- The user mapped 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()
The user mapped 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 UpdateNFSFileShareRequest withSquash(String squash)
The user mapped 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
- The user mapped 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, otherwise "false".
readOnly
- Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".public Boolean getReadOnly()
Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".
public UpdateNFSFileShareRequest withReadOnly(Boolean readOnly)
Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".
readOnly
- Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".public Boolean isReadOnly()
Sets the write status of a file share: "true" if the write status is read-only, otherwise "false".
public String toString()
toString
in class Object
Object.toString()
public UpdateNFSFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.