@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 file gateway discovers them in S3 buckets. This operation is only supported in file gateways.
Constructor and Description |
---|
NFSFileShareInfo() |
Modifier and Type | Method and Description |
---|---|
NFSFileShareInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getClientList() |
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
String |
getFileShareARN() |
String |
getFileShareId() |
String |
getFileShareStatus() |
String |
getGatewayARN() |
Boolean |
getGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
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() |
String |
getLocationARN() |
NFSFileShareDefaults |
getNFSFileShareDefaults() |
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.
|
int |
hashCode() |
Boolean |
isGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
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()
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 |
setClientList(Collection<String> clientList) |
void |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
void |
setFileShareARN(String fileShareARN) |
void |
setFileShareId(String fileShareId) |
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)
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) |
void |
setLocationARN(String locationARN) |
void |
setNFSFileShareDefaults(NFSFileShareDefaults nFSFileShareDefaults) |
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.
|
String |
toString()
Returns a string representation of this object.
|
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 file gateway.
|
NFSFileShareInfo |
withFileShareARN(String fileShareARN) |
NFSFileShareInfo |
withFileShareId(String fileShareId) |
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)
True to use Amazon S3 server side encryption with your own AWS 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 |
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.
|
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)
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 NFSFileShareInfo 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)
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 file gateway. Possible values are
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_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 the file gateway. Possible values
are S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_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 the file gateway. Possible values are
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field is not
populated, the default value S3_STANDARD
is used. Optional.
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field
is not populated, the default value S3_STANDARD
is used. Optional.public NFSFileShareInfo withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway. Possible values are
S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_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 the file gateway. Possible values
are S3_STANDARD
, S3_STANDARD_IA
, or S3_ONEZONE_IA
. If this field is
not populated, the default value S3_STANDARD
is used. Optional.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. This value is true if the write status is read-only, and otherwise false.
readOnly
- A value that sets the write status of a file share. This value is true if the write status is read-only,
and otherwise false.public Boolean getReadOnly()
A value that sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
public NFSFileShareInfo withReadOnly(Boolean readOnly)
A value that sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
readOnly
- A value that sets the write status of a file share. This value is true if the write status is read-only,
and otherwise false.public Boolean isReadOnly()
A value that sets the write status of a file share. This value is true if the write status is read-only, and otherwise 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, and otherwise to false. The default value is true.
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, and otherwise to false. The default value is true.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, and otherwise to false. The default value is true.
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, and otherwise to false. The default value is true.
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, and otherwise to false. The default value is true.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, and otherwise to false. The default value is true.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.