@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 for 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 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.
|
List<String> |
getInvalidUserList()
A list of users or groups 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 AWS 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()
A value that sets the write status of a file share.
|
Boolean |
getRequesterPays()
A value that sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into.
|
String |
getRole() |
List<String> |
getValidUserList()
A list of users or groups in the Active Directory that are allowed to access the file share.
|
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 the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into.
|
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 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 |
setInvalidUserList(Collection<String> invalidUserList)
A list of users or groups 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 AWS 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)
A value that sets the write status of a file share.
|
void |
setRequesterPays(Boolean requesterPays)
A value that sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into.
|
void |
setRole(String role) |
void |
setValidUserList(Collection<String> validUserList)
A list of users or groups 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 the file gateway.
|
SMBFileShareInfo |
withFileShareARN(String fileShareARN) |
SMBFileShareInfo |
withFileShareId(String fileShareId) |
SMBFileShareInfo |
withFileShareStatus(String fileShareStatus) |
SMBFileShareInfo |
withGatewayARN(String gatewayARN) |
SMBFileShareInfo |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
SMBFileShareInfo |
withInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
SMBFileShareInfo |
withInvalidUserList(String... invalidUserList)
A list of users or groups 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 AWS 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)
A value that sets the write status of a file share.
|
SMBFileShareInfo |
withRequesterPays(Boolean requesterPays)
A value that sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into.
|
SMBFileShareInfo |
withRole(String role) |
SMBFileShareInfo |
withValidUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
SMBFileShareInfo |
withValidUserList(String... validUserList)
A list of users or groups 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 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 SMBFileShareInfo 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 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 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 SMBFileShareInfo 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 SMBFileShareInfo withObjectACL(String objectACL)
objectACL
- ObjectACL
public SMBFileShareInfo withObjectACL(ObjectACL objectACL)
objectACL
- ObjectACL
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 SMBFileShareInfo 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 SMBFileShareInfo 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 the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into. The default value is private
.
requesterPays
- A value that sets the access control list permission for objects in the Amazon S3 bucket that a file
gateway puts objects into. The default value is private
.public Boolean getRequesterPays()
A value that sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into. The default value is private
.
private
.public SMBFileShareInfo withRequesterPays(Boolean requesterPays)
A value that sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into. The default value is private
.
requesterPays
- A value that sets the access control list permission for objects in the Amazon S3 bucket that a file
gateway puts objects into. The default value is private
.public Boolean isRequesterPays()
A value that sets the access control list permission for objects in the Amazon S3 bucket that a file gateway puts
objects into. The default value is private
.
private
.public List<String> getValidUserList()
A list of users or groups in the Active Directory that are allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
@group1
. Can only be set if Authentication is
set to ActiveDirectory
.public void setValidUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
validUserList
- A list of users or groups in the Active Directory that are allowed to access the file share. A group must
be prefixed with the @ character. For example @group1
. Can only be set if Authentication is
set to ActiveDirectory
.public SMBFileShareInfo withValidUserList(String... validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. 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 or groups in the Active Directory that are allowed to access the file share. A group must
be prefixed with the @ character. For example @group1
. Can only be set if Authentication is
set to ActiveDirectory
.public SMBFileShareInfo withValidUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
validUserList
- A list of users or groups in the Active Directory that are allowed to access the file share. A group must
be prefixed with the @ character. For example @group1
. Can only be set if Authentication is
set to ActiveDirectory
.public List<String> getInvalidUserList()
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
@group1
. Can only be set if
Authentication is set to ActiveDirectory
.public void setInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
invalidUserList
- A list of users or groups in the Active Directory that are not allowed to access the file share. A group
must be prefixed with the @ character. For example @group1
. Can only be set if Authentication
is set to ActiveDirectory
.public SMBFileShareInfo withInvalidUserList(String... invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. 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 or groups in the Active Directory that are not allowed to access the file share. A group
must be prefixed with the @ character. For example @group1
. Can only be set if Authentication
is set to ActiveDirectory
.public SMBFileShareInfo withInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share. A group must be
prefixed with the @ character. For example @group1
. Can only be set if Authentication is set to
ActiveDirectory
.
invalidUserList
- A list of users or groups in the Active Directory that are not allowed to access the file share. A group
must be prefixed with the @ character. For example @group1
. 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 Object
Object.toString()
public SMBFileShareInfo 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.