@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) |
Boolean |
getAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
|
List<String> |
getAdminUserList()
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
String |
getAuditDestinationARN()
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
CacheAttributes |
getCacheAttributes()
Specifies refresh cache information for the file share.
|
String |
getCaseSensitivity()
The case of an object name in an Amazon S3 bucket.
|
String |
getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
String |
getFileShareARN()
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
|
String |
getFileShareName()
The name of the file share.
|
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()
Set to
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()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
String |
getNotificationPolicy()
The notification policy of the file share.
|
String |
getObjectACL()
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into.
|
Boolean |
getOplocksEnabled()
Specifies whether opportunistic locking is enabled for the SMB file share.
|
Boolean |
getReadOnly()
A value that sets the write status of a file share.
|
Boolean |
getRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
Boolean |
getSMBACLEnabled()
Set this value to
true to enable access control list (ACL) on the SMB file share. |
List<String> |
getValidUserList()
A list of users or groups in the Active Directory that are allowed to access the file share.
|
int |
hashCode() |
Boolean |
isAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
|
Boolean |
isGuessMIMETypeEnabled()
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
Boolean |
isKMSEncrypted()
Set to
true to use Amazon S3 server-side encryption with your own KMS key, or false to
use a key managed by Amazon S3. |
Boolean |
isOplocksEnabled()
Specifies whether opportunistic locking is enabled for the SMB file share.
|
Boolean |
isReadOnly()
A value that sets the write status of a file share.
|
Boolean |
isRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
Boolean |
isSMBACLEnabled()
Set this value to
true to enable access control list (ACL) on the SMB file share. |
void |
setAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
|
void |
setAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
void |
setAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
void |
setCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
|
void |
setCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket.
|
void |
setDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
void |
setFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
|
void |
setFileShareName(String fileShareName)
The name of the file share.
|
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)
Set to
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)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
void |
setNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
void |
setObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into.
|
void |
setOplocksEnabled(Boolean oplocksEnabled)
Specifies whether opportunistic locking is enabled for the SMB file share.
|
void |
setReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
void |
setRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
void |
setSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to
true to enable access control list (ACL) on the SMB file share. |
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.
|
UpdateSMBFileShareRequest |
withAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
|
UpdateSMBFileShareRequest |
withAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
UpdateSMBFileShareRequest |
withAdminUserList(String... adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share.
|
UpdateSMBFileShareRequest |
withAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
|
UpdateSMBFileShareRequest |
withCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
|
UpdateSMBFileShareRequest |
withCaseSensitivity(CaseSensitivity caseSensitivity)
The case of an object name in an Amazon S3 bucket.
|
UpdateSMBFileShareRequest |
withCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket.
|
UpdateSMBFileShareRequest |
withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway.
|
UpdateSMBFileShareRequest |
withFileShareARN(String fileShareARN)
The Amazon Resource Name (ARN) of the SMB file share that you want to update.
|
UpdateSMBFileShareRequest |
withFileShareName(String fileShareName)
The name of the file share.
|
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)
Set to
true to use Amazon S3 server-side encryption with your own KMS key, or false to
use a key managed by Amazon S3. |
UpdateSMBFileShareRequest |
withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption.
|
UpdateSMBFileShareRequest |
withNotificationPolicy(String notificationPolicy)
The notification policy of the file share.
|
UpdateSMBFileShareRequest |
withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into.
|
UpdateSMBFileShareRequest |
withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into.
|
UpdateSMBFileShareRequest |
withOplocksEnabled(Boolean oplocksEnabled)
Specifies whether opportunistic locking is enabled for the SMB file share.
|
UpdateSMBFileShareRequest |
withReadOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
UpdateSMBFileShareRequest |
withRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
|
UpdateSMBFileShareRequest |
withSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to
true to enable access control list (ACL) on the SMB file share. |
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)
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean getKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public UpdateSMBFileShareRequest withKMSEncrypted(Boolean kMSEncrypted)
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
kMSEncrypted
- Set to true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public Boolean isKMSEncrypted()
Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to
use a key managed by Amazon S3. Optional.
Valid Values: true
| false
true
to use Amazon S3 server-side encryption with your own KMS key, or
false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
public void setKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.public String getKMSKey()
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
KMSEncrypted
is true
. Optional.public UpdateSMBFileShareRequest withKMSKey(String kMSKey)
The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when
KMSEncrypted
is true
. Optional.
kMSKey
- The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side
encryption. Storage Gateway does not support asymmetric CMKs. 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 S3 File Gateway. The default value is
S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default
value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
| S3_ONEZONE_IA
public String getDefaultStorageClass()
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is
S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
|
S3_STANDARD_IA
| S3_ONEZONE_IA
public UpdateSMBFileShareRequest withDefaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default value is
S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
|
S3_ONEZONE_IA
defaultStorageClass
- The default storage class for objects put into an Amazon S3 bucket by the S3 File Gateway. The default
value is S3_STANDARD
. Optional.
Valid Values: S3_STANDARD
| S3_INTELLIGENT_TIERING
| S3_STANDARD_IA
| S3_ONEZONE_IA
public void setObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File
Gateway puts objects into. The default value is private
.ObjectACL
public String getObjectACL()
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into. The default value is private
.
private
.ObjectACL
public UpdateSMBFileShareRequest withObjectACL(String objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File
Gateway puts objects into. The default value is private
.ObjectACL
public UpdateSMBFileShareRequest withObjectACL(ObjectACL objectACL)
A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 File Gateway
puts objects into. The default value is private
.
objectACL
- A value that sets the access control list (ACL) permission for objects in the S3 bucket that a S3 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. Set this value to true
to set write status to
read-only, otherwise set to false
.
Valid Values: true
| false
readOnly
- A value that sets the write status of a file share. Set this value to true
to set write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public Boolean getReadOnly()
A value that sets the write status of a file share. Set this value to true
to set write status to
read-only, otherwise set to false
.
Valid Values: true
| false
true
to set write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public UpdateSMBFileShareRequest withReadOnly(Boolean readOnly)
A value that sets the write status of a file share. Set this value to true
to set write status to
read-only, otherwise set to false
.
Valid Values: true
| false
readOnly
- A value that sets the write status of a file share. Set this value to true
to set write
status to read-only, otherwise set to false
.
Valid Values: true
| false
public Boolean isReadOnly()
A value that sets the write status of a file share. Set this value to true
to set write status to
read-only, otherwise set to false
.
Valid Values: true
| false
true
to set write
status to read-only, otherwise set to false
.
Valid Values: true
| 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, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
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, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
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, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
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, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
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, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
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, otherwise set to false
. The default value is
true
.
Valid Values: true
| false
true
to enable MIME type guessing, otherwise set to false
. The default
value is true
.
Valid Values: true
| false
public void setRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
requesterPays
- A value that sets who pays the cost of the request and the cost associated with data download from the S3
bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public Boolean getRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public UpdateSMBFileShareRequest withRequesterPays(Boolean requesterPays)
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
requesterPays
- A value that sets who pays the cost of the request and the cost associated with data download from the S3
bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public Boolean isRequesterPays()
A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket.
If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays.
However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the
configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
true
, the requester pays the costs; otherwise, the S3 bucket
owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure
that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
public void setSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
sMBACLEnabled
- Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
public Boolean getSMBACLEnabled()
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
public UpdateSMBFileShareRequest withSMBACLEnabled(Boolean sMBACLEnabled)
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
sMBACLEnabled
- Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
public Boolean isSMBACLEnabled()
Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
true
to enable access control list (ACL) on the SMB file share. Set it to
false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
public void setAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
accessBasedEnumeration
- The files and folders on this share will only be visible to users with read access.public Boolean getAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
public UpdateSMBFileShareRequest withAccessBasedEnumeration(Boolean accessBasedEnumeration)
The files and folders on this share will only be visible to users with read access.
accessBasedEnumeration
- The files and folders on this share will only be visible to users with read access.public Boolean isAccessBasedEnumeration()
The files and folders on this share will only be visible to users with read access.
public List<String> getAdminUserList()
A list of users or groups in the Active Directory that have administrator rights to the file share. A group must
be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public void setAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share. A group must
be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
adminUserList
- A list of users or groups in the Active Directory that have administrator rights to the file share. A
group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public UpdateSMBFileShareRequest withAdminUserList(String... adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share. A group must
be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
NOTE: This method appends the values to the existing list (if any). Use
setAdminUserList(java.util.Collection)
or withAdminUserList(java.util.Collection)
if you want
to override the existing values.
adminUserList
- A list of users or groups in the Active Directory that have administrator rights to the file share. A
group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public UpdateSMBFileShareRequest withAdminUserList(Collection<String> adminUserList)
A list of users or groups in the Active Directory that have administrator rights to the file share. A group must
be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
adminUserList
- A list of users or groups in the Active Directory that have administrator rights to the file share. A
group must be prefixed with the @ character. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\group1
. Can only be set if Authentication is set to
ActiveDirectory
.
DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
, user1
,
@group1
, and @DOMAIN\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. Acceptable formats include: DOMAIN\User1
,
user1
, @group1
, and @DOMAIN\group1
. Can only be set if
Authentication is set to ActiveDirectory
.public void setAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for audit logs.public String getAuditDestinationARN()
The Amazon Resource Name (ARN) of the storage used for audit logs.
public UpdateSMBFileShareRequest withAuditDestinationARN(String auditDestinationARN)
The Amazon Resource Name (ARN) of the storage used for audit logs.
auditDestinationARN
- The Amazon Resource Name (ARN) of the storage used for audit logs.public void setCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
caseSensitivity
- The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines
the case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The
default value is ClientSpecified
.CaseSensitivity
public String getCaseSensitivity()
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
ClientSpecified
, the client
determines the case sensitivity. For CaseSensitive
, the gateway determines the case
sensitivity. The default value is ClientSpecified
.CaseSensitivity
public UpdateSMBFileShareRequest withCaseSensitivity(String caseSensitivity)
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
caseSensitivity
- The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines
the case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The
default value is ClientSpecified
.CaseSensitivity
public UpdateSMBFileShareRequest withCaseSensitivity(CaseSensitivity caseSensitivity)
The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines the
case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The default value
is ClientSpecified
.
caseSensitivity
- The case of an object name in an Amazon S3 bucket. For ClientSpecified
, the client determines
the case sensitivity. For CaseSensitive
, the gateway determines the case sensitivity. The
default value is ClientSpecified
.CaseSensitivity
public void setFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an access
point or access point alias is used.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an
access point or access point alias is used.
public String getFileShareName()
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an access
point or access point alias is used.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an
access point or access point alias is used.
public UpdateSMBFileShareRequest withFileShareName(String fileShareName)
The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an access
point or access point alias is used.
fileShareName
- The name of the file share. Optional.
FileShareName
must be set if an S3 prefix name is set in LocationARN
, or if an
access point or access point alias is used.
public void setCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
cacheAttributes
- Specifies refresh cache information for the file share.public CacheAttributes getCacheAttributes()
Specifies refresh cache information for the file share.
public UpdateSMBFileShareRequest withCacheAttributes(CacheAttributes cacheAttributes)
Specifies refresh cache information for the file share.
cacheAttributes
- Specifies refresh cache information for the file share.public void setNotificationPolicy(String notificationPolicy)
The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to
wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as
possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the
timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
notificationPolicy
- The notification policy of the file share. SettlingTimeInSeconds
controls the number of
seconds to wait after the last point in time a client wrote to a file before generating an
ObjectUploaded
notification. Because clients can make many small writes to files, it's best
to set this parameter for as long as possible to avoid generating multiple notifications for the same file
in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only
the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set
to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
public String getNotificationPolicy()
The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to
wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as
possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the
timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
SettlingTimeInSeconds
controls the number of
seconds to wait after the last point in time a client wrote to a file before generating an
ObjectUploaded
notification. Because clients can make many small writes to files, it's best
to set this parameter for as long as possible to avoid generating multiple notifications for the same
file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only
the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set
to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
public UpdateSMBFileShareRequest withNotificationPolicy(String notificationPolicy)
The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to
wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as
possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the
timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
notificationPolicy
- The notification policy of the file share. SettlingTimeInSeconds
controls the number of
seconds to wait after the last point in time a client wrote to a file before generating an
ObjectUploaded
notification. Because clients can make many small writes to files, it's best
to set this parameter for as long as possible to avoid generating multiple notifications for the same file
in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only
the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set
to 60.
{\"Upload\": {\"SettlingTimeInSeconds\": 60}}
The following example sets NotificationPolicy
off.
{}
public void setOplocksEnabled(Boolean oplocksEnabled)
Specifies whether opportunistic locking is enabled for the SMB file share.
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
oplocksEnabled
- Specifies whether opportunistic locking is enabled for the SMB file share. Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
public Boolean getOplocksEnabled()
Specifies whether opportunistic locking is enabled for the SMB file share.
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
public UpdateSMBFileShareRequest withOplocksEnabled(Boolean oplocksEnabled)
Specifies whether opportunistic locking is enabled for the SMB file share.
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
oplocksEnabled
- Specifies whether opportunistic locking is enabled for the SMB file share. Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
public Boolean isOplocksEnabled()
Specifies whether opportunistic locking is enabled for the SMB file share.
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
public String toString()
toString
in class Object
Object.toString()
public UpdateSMBFileShareRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()