@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) |
String |
getAuditDestinationARN()
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
CacheAttributes |
getCacheAttributes()
Specifies refresh cache information for the file share.
|
List<String> |
getClientList()
The list of clients that are allowed to access the S3 File Gateway.
|
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
String |
getFileShareARN()
The Amazon Resource Name (ARN) of the file share to be updated.
|
String |
getFileShareName()
The name of the 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 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.
|
NFSFileShareDefaults |
getNFSFileShareDefaults()
The default values for the file share.
|
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 S3 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 |
getSquash()
The user mapped to anonymous user.
|
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 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 |
setAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
void |
setCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
|
void |
setClientList(Collection<String> clientList)
The list of clients that are allowed to access the S3 File Gateway.
|
void |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
void |
setFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the file share to be updated.
|
void |
setFileShareName(String fileShareName)
The name of the 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 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 |
setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
The default values for the file share.
|
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 S3 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 |
setSquash(String squash)
The user mapped to anonymous user.
|
String |
toString()
Returns a string representation of this object.
|
UpdateNFSFileShareRequest |
withAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
UpdateNFSFileShareRequest |
withCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
|
UpdateNFSFileShareRequest |
withClientList(Collection<String> clientList)
The list of clients that are allowed to access the S3 File Gateway.
|
UpdateNFSFileShareRequest |
withClientList(String... clientList)
The list of clients that are allowed to access the S3 File Gateway.
|
UpdateNFSFileShareRequest |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
UpdateNFSFileShareRequest |
withFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the file share to be updated.
|
UpdateNFSFileShareRequest |
withFileShareName(String fileShareName)
The name of the file share.
|
UpdateNFSFileShareRequest |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
UpdateNFSFileShareRequest |
withKMSEncrypted(Boolean kMSEncrypted)
Set to
true to use Amazon S3 server-side encryption with your own KMS key, or false to
use a key managed by Amazon S3. |
UpdateNFSFileShareRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
UpdateNFSFileShareRequest |
withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
The default values for the file share.
|
UpdateNFSFileShareRequest |
withNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
UpdateNFSFileShareRequest |
withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into.
|
UpdateNFSFileShareRequest |
withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into.
|
UpdateNFSFileShareRequest |
withReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
UpdateNFSFileShareRequest |
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.
|
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)
Set to true
to use Amazon S3 server-side encryption with your own 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 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 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 KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public UpdateNFSFileShareRequest withKMSEncrypted(Boolean kMSEncrypted)
Set to true
to use Amazon S3 server-side encryption with your own 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 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 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 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 UpdateNFSFileShareRequest 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 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 the S3 File Gateway. The default value is
S3_STANDARD
. 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 S3 File Gateway. The default
value is S3_STANDARD
. 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 S3 File Gateway. The default value is
S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|
S3_STANDARD_IA
| S3_ONEZONE_IA
public UpdateNFSFileShareRequest withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is
S3_STANDARD
. 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 S3 File Gateway. The default
value is S3_STANDARD
. 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 S3 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 S3 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 S3 File Gateway
puts objects into. The default value is private
.
private
.ObjectACL
public UpdateNFSFileShareRequest withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 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 S3 File
Gateway puts objects into. The default value is private
.ObjectACL
public UpdateNFSFileShareRequest withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 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 S3 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 S3 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 S3 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 S3 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 S3 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 S3 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 S3 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 S3 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 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
- The user 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 String getSquash()
The user 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.
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 UpdateNFSFileShareRequest withSquash(String squash)
The user 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.
squash
- The user 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 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 UpdateNFSFileShareRequest 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 UpdateNFSFileShareRequest 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 UpdateNFSFileShareRequest 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 void setFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an access
point or access point alias is used.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an
access point or access point alias is used.
public String getFileShareName()
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an access
point or access point alias is used.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an
access point or access point alias is used.
public UpdateNFSFileShareRequest withFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an access
point or access point alias is used.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an
access point or access point alias is used.
public void setCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
cacheAttributes
- Specifies refresh cache information for the file share.public CacheAttributes getCacheAttributes()
Specifies refresh cache information for the file share.
public UpdateNFSFileShareRequest withCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
cacheAttributes
- Specifies refresh cache information for the file share.public void setNotificationPolicy(String notificationPolicy)
The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to
wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as
possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the
timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
notificationPolicy
- The notification policy of the file share. SettlingTimeInSeconds
controls the number of
seconds to wait after the last point in time a client wrote to a file before generating an
ObjectUploaded
notification. Because clients can make many small writes to files, it's best
to set this parameter for as long as possible to avoid generating multiple notifications for the same file
in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only
the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set
to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
public String getNotificationPolicy()
The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to
wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as
possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the
timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
SettlingTimeInSeconds
controls the number of
seconds to wait after the last point in time a client wrote to a file before generating an
ObjectUploaded
notification. Because clients can make many small writes to files, it's best
to set this parameter for as long as possible to avoid generating multiple notifications for the same
file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only
the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set
to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
public UpdateNFSFileShareRequest withNotificationPolicy(String notificationPolicy)
The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to
wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as
possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the
timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
notificationPolicy
- The notification policy of the file share. SettlingTimeInSeconds
controls the number of
seconds to wait after the last point in time a client wrote to a file before generating an
ObjectUploaded
notification. Because clients can make many small writes to files, it's best
to set this parameter for as long as possible to avoid generating multiple notifications for the same file
in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only
the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set
to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
public void setAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for audit logs.public String getAuditDestinationARN()
The Amazon Resource Name (ARN) of the storage used for audit logs.
public UpdateNFSFileShareRequest withAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for audit logs.public String toString()
toString
in class Object
Object.toString()
public UpdateNFSFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()