@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSMBFileShareRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
UpdateSMBFileShareInput
NOOP
Constructor and Description |
---|
UpdateSMBFileShareRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSMBFileShareRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
String |
getFileShareARN()
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
|
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()
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
String |
getObjectACL()
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into.
|
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.
|
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 |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
void |
setFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
|
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)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
void |
setObjectACL(String objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into.
|
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 |
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.
|
UpdateSMBFileShareRequest |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
UpdateSMBFileShareRequest |
withFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
|
UpdateSMBFileShareRequest |
withGuessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
UpdateSMBFileShareRequest |
withInvalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
UpdateSMBFileShareRequest |
withInvalidUserList(String... invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
UpdateSMBFileShareRequest |
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.
|
UpdateSMBFileShareRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
UpdateSMBFileShareRequest |
withObjectACL(ObjectACL objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into.
|
UpdateSMBFileShareRequest |
withObjectACL(String objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into.
|
UpdateSMBFileShareRequest |
withReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
UpdateSMBFileShareRequest |
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.
|
UpdateSMBFileShareRequest |
withValidUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
UpdateSMBFileShareRequest |
withValidUserList(String... validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
fileShareARN
- The Amazon Resource Name (ARN) of the SMB file share that you want to update.public String getFileShareARN()
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
public UpdateSMBFileShareRequest withFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
fileShareARN
- The Amazon Resource Name (ARN) of the SMB file share that you want to update.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 UpdateSMBFileShareRequest 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)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value
can only be set when KMSEncrypted is true. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
public UpdateSMBFileShareRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when KMSEncrypted is true. Optional.
kMSKey
- The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value
can only be set when KMSEncrypted is true. Optional.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 UpdateSMBFileShareRequest 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 void setObjectACL(String objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts objects into. The default value is "private".
objectACL
- A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is "private".ObjectACL
public String getObjectACL()
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts objects into. The default value is "private".
ObjectACL
public UpdateSMBFileShareRequest withObjectACL(String objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts objects into. The default value is "private".
objectACL
- A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is "private".ObjectACL
public UpdateSMBFileShareRequest withObjectACL(ObjectACL objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts objects into. The default value is "private".
objectACL
- A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into. The default value is "private".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 UpdateSMBFileShareRequest 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 UpdateSMBFileShareRequest 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 UpdateSMBFileShareRequest 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 UpdateSMBFileShareRequest 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 UpdateSMBFileShareRequest 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 UpdateSMBFileShareRequest 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 UpdateSMBFileShareRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateSMBFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.