@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NFSFileShareInfo extends Object implements Serializable, Cloneable, StructuredPojo
The Unix file permissions and ownership information assigned, by default, to native S3 objects when an S3 File Gateway discovers them in S3 buckets. This operation is only supported in S3 File Gateways.
Constructor and Description |
---|
NFSFileShareInfo() |
Modifier and Type | Method and Description |
---|---|
NFSFileShareInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAuditDestinationARN()
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
String |
getBucketRegion()
Specifies the Region of the S3 bucket where the NFS file share stores files.
|
CacheAttributes |
getCacheAttributes()
Refresh cache information for the file share.
|
List<String> |
getClientList() |
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
String |
getFileShareARN() |
String |
getFileShareId() |
String |
getFileShareName()
The name of the file share.
|
String |
getFileShareStatus() |
String |
getGatewayARN() |
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() |
String |
getLocationARN() |
NFSFileShareDefaults |
getNFSFileShareDefaults() |
String |
getNotificationPolicy()
The notification policy of the file share.
|
String |
getObjectACL() |
String |
getPath() |
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() |
String |
getSquash() |
List<Tag> |
getTags()
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name.
|
String |
getVPCEndpointDNSName()
Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
void |
setBucketRegion(String bucketRegion)
Specifies the Region of the S3 bucket where the NFS file share stores files.
|
void |
setCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information for the file share.
|
void |
setClientList(Collection<String> clientList) |
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) |
void |
setFileShareId(String fileShareId) |
void |
setFileShareName(String fileShareName)
The name of the file share.
|
void |
setFileShareStatus(String fileShareStatus) |
void |
setGatewayARN(String gatewayARN) |
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) |
void |
setLocationARN(String locationARN) |
void |
setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults) |
void |
setNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
void |
setObjectACL(String objectACL) |
void |
setPath(String path) |
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) |
void |
setSquash(String squash) |
void |
setTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name.
|
void |
setVPCEndpointDNSName(String vPCEndpointDNSName)
Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
|
String |
toString()
Returns a string representation of this object.
|
NFSFileShareInfo |
withAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
NFSFileShareInfo |
withBucketRegion(String bucketRegion)
Specifies the Region of the S3 bucket where the NFS file share stores files.
|
NFSFileShareInfo |
withCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information for the file share.
|
NFSFileShareInfo |
withClientList(Collection<String> clientList) |
NFSFileShareInfo |
withClientList(String... clientList)
NOTE: This method appends the values to the existing list (if any).
|
NFSFileShareInfo |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
NFSFileShareInfo |
withFileShareARN(String fileShareARN) |
NFSFileShareInfo |
withFileShareId(String fileShareId) |
NFSFileShareInfo |
withFileShareName(String fileShareName)
The name of the file share.
|
NFSFileShareInfo |
withFileShareStatus(String fileShareStatus) |
NFSFileShareInfo |
withGatewayARN(String gatewayARN) |
NFSFileShareInfo |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
NFSFileShareInfo |
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. |
NFSFileShareInfo |
withKMSKey(String kMSKey) |
NFSFileShareInfo |
withLocationARN(String locationARN) |
NFSFileShareInfo |
withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults) |
NFSFileShareInfo |
withNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
NFSFileShareInfo |
withObjectACL(ObjectACL objectACL) |
NFSFileShareInfo |
withObjectACL(String objectACL) |
NFSFileShareInfo |
withPath(String path) |
NFSFileShareInfo |
withReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
NFSFileShareInfo |
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.
|
NFSFileShareInfo |
withRole(String role) |
NFSFileShareInfo |
withSquash(String squash) |
NFSFileShareInfo |
withTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name.
|
NFSFileShareInfo |
withTags(Tag... tags)
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name.
|
NFSFileShareInfo |
withVPCEndpointDNSName(String vPCEndpointDNSName)
Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
|
public void setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
nFSFileShareDefaults
- public NFSFileShareDefaults getNFSFileShareDefaults()
public NFSFileShareInfo withNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults)
nFSFileShareDefaults
- public void setFileShareARN(String fileShareARN)
fileShareARN
- public String getFileShareARN()
public NFSFileShareInfo withFileShareARN(String fileShareARN)
fileShareARN
- public void setFileShareId(String fileShareId)
fileShareId
- public String getFileShareId()
public NFSFileShareInfo withFileShareId(String fileShareId)
fileShareId
- public void setFileShareStatus(String fileShareStatus)
fileShareStatus
- public String getFileShareStatus()
public NFSFileShareInfo withFileShareStatus(String fileShareStatus)
fileShareStatus
- public void setGatewayARN(String gatewayARN)
gatewayARN
- public String getGatewayARN()
public NFSFileShareInfo withGatewayARN(String gatewayARN)
gatewayARN
- 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 NFSFileShareInfo 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)
kMSKey
- public String getKMSKey()
public NFSFileShareInfo withKMSKey(String kMSKey)
kMSKey
- public void setPath(String path)
path
- public String getPath()
public NFSFileShareInfo withPath(String path)
path
- public void setRole(String role)
role
- public String getRole()
public NFSFileShareInfo withRole(String role)
role
- public void setLocationARN(String locationARN)
locationARN
- public String getLocationARN()
public NFSFileShareInfo withLocationARN(String locationARN)
locationARN
- 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 NFSFileShareInfo 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 NFSFileShareInfo withObjectACL(String objectACL)
objectACL
- ObjectACL
public NFSFileShareInfo withObjectACL(ObjectACL objectACL)
objectACL
- ObjectACL
public void setClientList(Collection<String> clientList)
clientList
- public NFSFileShareInfo withClientList(String... clientList)
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
- public NFSFileShareInfo withClientList(Collection<String> clientList)
clientList
- public void setSquash(String squash)
squash
- public String getSquash()
public NFSFileShareInfo withSquash(String squash)
squash
- 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 NFSFileShareInfo 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 NFSFileShareInfo 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 NFSFileShareInfo 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 assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
ListTagsForResource
API operation.public void setTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
tags
- A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.public NFSFileShareInfo withTags(Tag... tags)
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
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 assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.public NFSFileShareInfo withTags(Collection<Tag> tags)
A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.
tags
- A list of up to 50 tags assigned to the NFS file share, sorted alphabetically by key name. Each tag is a
key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResource
API operation.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 NFSFileShareInfo 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)
Refresh cache information for the file share.
cacheAttributes
- Refresh cache information for the file share.public CacheAttributes getCacheAttributes()
Refresh cache information for the file share.
public NFSFileShareInfo withCacheAttributes(CacheAttributes cacheAttributes)
Refresh cache information for the file share.
cacheAttributes
- 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 NFSFileShareInfo 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 setVPCEndpointDNSName(String vPCEndpointDNSName)
Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
vPCEndpointDNSName
- Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
public String getVPCEndpointDNSName()
Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
public NFSFileShareInfo withVPCEndpointDNSName(String vPCEndpointDNSName)
Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
vPCEndpointDNSName
- Specifies the DNS name for the VPC endpoint that the NFS file share uses to connect to Amazon S3.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
public void setBucketRegion(String bucketRegion)
Specifies the Region of the S3 bucket where the NFS file share stores files.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
bucketRegion
- Specifies the Region of the S3 bucket where the NFS file share stores files. This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
public String getBucketRegion()
Specifies the Region of the S3 bucket where the NFS file share stores files.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
public NFSFileShareInfo withBucketRegion(String bucketRegion)
Specifies the Region of the S3 bucket where the NFS file share stores files.
This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
bucketRegion
- Specifies the Region of the S3 bucket where the NFS file share stores files. This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.
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 NFSFileShareInfo 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 NFSFileShareInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.