public class NFSFileShareInfo extends Object implements Serializable, Cloneable
The Unix file permissions and ownership information assigned, by default, to native S3 objects when Storage Gateway discovers them in S3 buckets.
Constructor and Description |
---|
NFSFileShareInfo() |
Modifier and Type | Method and Description |
---|---|
NFSFileShareInfo |
clone() |
boolean |
equals(Object obj) |
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() |
String |
getRole() |
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.
|
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 |
setRole(String role) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 |
withRole(String role) |
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 String toString()
toString
in class Object
Object.toString()
public NFSFileShareInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.