@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 file gateway.
|
String |
getFileShareARN() |
String |
getFileShareId() |
String |
getFileShareStatus() |
String |
getGatewayARN() |
Boolean |
getKMSEncrypted()
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 |
getPath() |
Boolean |
getReadOnly() |
String |
getRole() |
String |
getSquash() |
int |
hashCode() |
Boolean |
isKMSEncrypted()
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() |
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 file gateway.
|
void |
setFileShareARN(String fileShareARN) |
void |
setFileShareId(String fileShareId) |
void |
setFileShareStatus(String fileShareStatus) |
void |
setGatewayARN(String gatewayARN) |
void |
setKMSEncrypted(Boolean kMSEncrypted)
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 |
setPath(String path) |
void |
setReadOnly(Boolean readOnly) |
void |
setRole(String role) |
void |
setSquash(String squash) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 file gateway.
|
NFSFileShareInfo |
withFileShareARN(String fileShareARN) |
NFSFileShareInfo |
withFileShareId(String fileShareId) |
NFSFileShareInfo |
withFileShareStatus(String fileShareStatus) |
NFSFileShareInfo |
withGatewayARN(String gatewayARN) |
NFSFileShareInfo |
withKMSEncrypted(Boolean kMSEncrypted)
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 |
withPath(String path) |
NFSFileShareInfo |
withReadOnly(Boolean readOnly) |
NFSFileShareInfo |
withRole(String role) |
NFSFileShareInfo |
withSquash(String squash) |
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 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 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 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 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 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 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 file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are
S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used.
Optional.public String getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
public NFSFileShareInfo withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used. Optional.
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by file gateway. Possible values are
S3_STANDARD or S3_STANDARD_IA. If this field is not populated, the default value S3_STANDARD is used.
Optional.public 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)
readOnly
- public Boolean getReadOnly()
public NFSFileShareInfo withReadOnly(Boolean readOnly)
readOnly
- public Boolean isReadOnly()
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.