public static interface CreateSmbFileShareRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateSmbFileShareRequest.Builder,CreateSmbFileShareRequest>
Modifier and Type | Method and Description |
---|---|
CreateSmbFileShareRequest.Builder |
authentication(String authentication)
The authentication method that users use to access the file share.
|
CreateSmbFileShareRequest.Builder |
clientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
|
CreateSmbFileShareRequest.Builder |
defaultStorageClass(String defaultStorageClass)
The default storage class for objects put into an Amazon S3 bucket by the file gateway.
|
CreateSmbFileShareRequest.Builder |
gatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
|
CreateSmbFileShareRequest.Builder |
guessMIMETypeEnabled(Boolean guessMIMETypeEnabled)
A value that enables guessing of the MIME type for uploaded objects based on file extensions.
|
CreateSmbFileShareRequest.Builder |
invalidUserList(Collection<String> invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
CreateSmbFileShareRequest.Builder |
invalidUserList(String... invalidUserList)
A list of users or groups in the Active Directory that are not allowed to access the file share.
|
CreateSmbFileShareRequest.Builder |
kmsEncrypted(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.
|
CreateSmbFileShareRequest.Builder |
kmsKey(String kmsKey)
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption.
|
CreateSmbFileShareRequest.Builder |
locationARN(String locationARN)
The ARN of the backed storage used for storing file data.
|
CreateSmbFileShareRequest.Builder |
objectACL(ObjectACL objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into.
|
CreateSmbFileShareRequest.Builder |
objectACL(String objectACL)
A value that sets the access control list permission for objects in the S3 bucket that a file gateway puts
objects into.
|
CreateSmbFileShareRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateSmbFileShareRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateSmbFileShareRequest.Builder |
readOnly(Boolean readOnly)
A value that sets the write status of a file share.
|
CreateSmbFileShareRequest.Builder |
requesterPays(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.
|
CreateSmbFileShareRequest.Builder |
role(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the
underlying storage.
|
CreateSmbFileShareRequest.Builder |
validUserList(Collection<String> validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
CreateSmbFileShareRequest.Builder |
validUserList(String... validUserList)
A list of users or groups in the Active Directory that are allowed to access the file share.
|
build
overrideConfiguration
copy
applyMutation, build
CreateSmbFileShareRequest.Builder clientToken(String clientToken)
A unique string value that you supply that is used by file gateway to ensure idempotent file share creation.
clientToken
- A unique string value that you supply that is used by file gateway to ensure idempotent file share
creation.CreateSmbFileShareRequest.Builder gatewayARN(String gatewayARN)
The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.
gatewayARN
- The Amazon Resource Name (ARN) of the file gateway on which you want to create a file share.CreateSmbFileShareRequest.Builder kmsEncrypted(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.CreateSmbFileShareRequest.Builder kmsKey(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.CreateSmbFileShareRequest.Builder role(String role)
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
role
- The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it
accesses the underlying storage.CreateSmbFileShareRequest.Builder locationARN(String locationARN)
The ARN of the backed storage used for storing file data.
locationARN
- The ARN of the backed storage used for storing file data.CreateSmbFileShareRequest.Builder defaultStorageClass(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.CreateSmbFileShareRequest.Builder objectACL(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".
CreateSmbFileShareRequest.Builder objectACL(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".
CreateSmbFileShareRequest.Builder readOnly(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.CreateSmbFileShareRequest.Builder guessMIMETypeEnabled(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.CreateSmbFileShareRequest.Builder requesterPays(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
.CreateSmbFileShareRequest.Builder validUserList(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
.CreateSmbFileShareRequest.Builder validUserList(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
.CreateSmbFileShareRequest.Builder invalidUserList(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
.CreateSmbFileShareRequest.Builder invalidUserList(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
.CreateSmbFileShareRequest.Builder authentication(String authentication)
The authentication method that users use to access the file share.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
authentication
- The authentication method that users use to access the file share.
Valid values are ActiveDirectory
or GuestAccess
. The default is
ActiveDirectory
.
CreateSmbFileShareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateSmbFileShareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.