@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMBFileShareInfo extends Object implements Serializable, Cloneable, StructuredPojo
The Windows 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 |
|---|
SMBFileShareInfo() |
| Modifier and Type | Method and Description |
|---|---|
SMBFileShareInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAuthentication() |
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 |
getGuessMIMETypeEnabled()
Enables guessing of the MIME type for uploaded objects based on file extensions.
|
List<String> |
getInvalidUserList()
A list of users in the Active Directory that are not allowed to access the file share.
|
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() |
String |
getObjectACL() |
String |
getPath()
The file share path used by the SMB client to identify the mount point.
|
Boolean |
getReadOnly()
Sets the write status of a file share.
|
Boolean |
getRequesterPays()
Sets who pays the cost of the request and the data download from the Amazon S3 bucket.
|
String |
getRole() |
List<String> |
getValidUserList()
A list of users in the Active Directory that are allowed to access the file share.
|
int |
hashCode() |
Boolean |
isGuessMIMETypeEnabled()
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 KMS key, or false to use a key managed by Amazon S3.
|
Boolean |
isReadOnly()
Sets the write status of a file share.
|
Boolean |
isRequesterPays()
Sets who pays the cost of the request and the data download from the Amazon S3 bucket.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAuthentication(String authentication) |
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 |
setGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
Enables guessing of the MIME type for uploaded objects based on file extensions.
|
void |
setInvalidUserList(Collection<String> invalidUserList)
A list of users in the Active Directory that are not allowed to access the file share.
|
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 |
setObjectACL(String objectACL) |
void |
setPath(String path)
The file share path used by the SMB client to identify the mount point.
|
void |
setReadOnly(Boolean readOnly)
Sets the write status of a file share.
|
void |
setRequesterPays(Boolean requesterPays)
Sets who pays the cost of the request and the data download from the Amazon S3 bucket.
|
void |
setRole(String role) |
void |
setValidUserList(Collection<String> validUserList)
A list of users in the Active Directory that are allowed to access the file share.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SMBFileShareInfo |
withAuthentication(String authentication) |
SMBFileShareInfo |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by file gateway.
|
SMBFileShareInfo |
withFileShareARN(String fileShareARN) |
SMBFileShareInfo |
withFileShareId(String fileShareId) |
SMBFileShareInfo |
withFileShareStatus(String fileShareStatus) |
SMBFileShareInfo |
withGatewayARN(String gatewayARN) |
SMBFileShareInfo |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
Enables guessing of the MIME type for uploaded objects based on file extensions.
|
SMBFileShareInfo |
withInvalidUserList(Collection<String> invalidUserList)
A list of users in the Active Directory that are not allowed to access the file share.
|
SMBFileShareInfo |
withInvalidUserList(String... invalidUserList)
A list of users in the Active Directory that are not allowed to access the file share.
|
SMBFileShareInfo |
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.
|
SMBFileShareInfo |
withKMSKey(String kMSKey) |
SMBFileShareInfo |
withLocationARN(String locationARN) |
SMBFileShareInfo |
withObjectACL(ObjectACL objectACL) |
SMBFileShareInfo |
withObjectACL(String objectACL) |
SMBFileShareInfo |
withPath(String path)
The file share path used by the SMB client to identify the mount point.
|
SMBFileShareInfo |
withReadOnly(Boolean readOnly)
Sets the write status of a file share.
|
SMBFileShareInfo |
withRequesterPays(Boolean requesterPays)
Sets who pays the cost of the request and the data download from the Amazon S3 bucket.
|
SMBFileShareInfo |
withRole(String role) |
SMBFileShareInfo |
withValidUserList(Collection<String> validUserList)
A list of users in the Active Directory that are allowed to access the file share.
|
SMBFileShareInfo |
withValidUserList(String... validUserList)
A list of users in the Active Directory that are allowed to access the file share.
|
public void setFileShareARN(String fileShareARN)
fileShareARN - public String getFileShareARN()
public SMBFileShareInfo withFileShareARN(String fileShareARN)
fileShareARN - public void setFileShareId(String fileShareId)
fileShareId - public String getFileShareId()
public SMBFileShareInfo withFileShareId(String fileShareId)
fileShareId - public void setFileShareStatus(String fileShareStatus)
fileShareStatus - public String getFileShareStatus()
public SMBFileShareInfo withFileShareStatus(String fileShareStatus)
fileShareStatus - public void setGatewayARN(String gatewayARN)
gatewayARN - public String getGatewayARN()
public SMBFileShareInfo 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 SMBFileShareInfo 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 SMBFileShareInfo withKMSKey(String kMSKey)
kMSKey - public void setPath(String path)
The file share path used by the SMB client to identify the mount point.
path - The file share path used by the SMB client to identify the mount point.public String getPath()
The file share path used by the SMB client to identify the mount point.
public SMBFileShareInfo withPath(String path)
The file share path used by the SMB client to identify the mount point.
path - The file share path used by the SMB client to identify the mount point.public void setRole(String role)
role - public String getRole()
public SMBFileShareInfo withRole(String role)
role - public void setLocationARN(String locationARN)
locationARN - public String getLocationARN()
public SMBFileShareInfo 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, 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 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 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 SMBFileShareInfo withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by 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 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 SMBFileShareInfo withObjectACL(String objectACL)
objectACL - ObjectACLpublic SMBFileShareInfo withObjectACL(ObjectACL objectACL)
objectACL - ObjectACLpublic void setReadOnly(Boolean readOnly)
Sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
readOnly - 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()
Sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
public SMBFileShareInfo withReadOnly(Boolean readOnly)
Sets the write status of a file share. This value is true if the write status is read-only, and otherwise false.
readOnly - 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()
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)
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 - 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()
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 SMBFileShareInfo withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
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 - 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()
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)
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to false.
requesterPays - Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true if you want the requester to pay instead of the bucket owner, and otherwise to false.public Boolean getRequesterPays()
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to false.
public SMBFileShareInfo withRequesterPays(Boolean requesterPays)
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to false.
requesterPays - Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to
true if you want the requester to pay instead of the bucket owner, and otherwise to false.public Boolean isRequesterPays()
Sets who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to true if you want the requester to pay instead of the bucket owner, and otherwise to false.
public List<String> getValidUserList()
A list of users in the Active Directory that are allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
public void setValidUserList(Collection<String> validUserList)
A list of users in the Active Directory that are allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
validUserList - A list of users in the Active Directory that are allowed to access the file share. Can only be set if
Authentication is set to "ActiveDirectory".public SMBFileShareInfo withValidUserList(String... validUserList)
A list of users in the Active Directory that are allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
NOTE: This method appends the values to the existing list (if any). Use
setValidUserList(java.util.Collection) or withValidUserList(java.util.Collection) if you want
to override the existing values.
validUserList - A list of users in the Active Directory that are allowed to access the file share. Can only be set if
Authentication is set to "ActiveDirectory".public SMBFileShareInfo withValidUserList(Collection<String> validUserList)
A list of users in the Active Directory that are allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
validUserList - A list of users in the Active Directory that are allowed to access the file share. Can only be set if
Authentication is set to "ActiveDirectory".public List<String> getInvalidUserList()
A list of users in the Active Directory that are not allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
public void setInvalidUserList(Collection<String> invalidUserList)
A list of users in the Active Directory that are not allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
invalidUserList - A list of users in the Active Directory that are not allowed to access the file share. Can only be set if
Authentication is set to "ActiveDirectory".public SMBFileShareInfo withInvalidUserList(String... invalidUserList)
A list of users in the Active Directory that are not allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
NOTE: This method appends the values to the existing list (if any). Use
setInvalidUserList(java.util.Collection) or withInvalidUserList(java.util.Collection) if you
want to override the existing values.
invalidUserList - A list of users in the Active Directory that are not allowed to access the file share. Can only be set if
Authentication is set to "ActiveDirectory".public SMBFileShareInfo withInvalidUserList(Collection<String> invalidUserList)
A list of users in the Active Directory that are not allowed to access the file share. Can only be set if Authentication is set to "ActiveDirectory".
invalidUserList - A list of users in the Active Directory that are not allowed to access the file share. Can only be set if
Authentication is set to "ActiveDirectory".public void setAuthentication(String authentication)
authentication - public String getAuthentication()
public SMBFileShareInfo withAuthentication(String authentication)
authentication - public String toString()
toString in class ObjectObject.toString()public SMBFileShareInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.