Interface FsxProtocolSmb.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FsxProtocolSmb.Builder,,FsxProtocolSmb> SdkBuilder<FsxProtocolSmb.Builder,,FsxProtocolSmb> SdkPojo
- Enclosing class:
FsxProtocolSmb
-
Method Summary
Modifier and TypeMethodDescriptiondefault FsxProtocolSmb.BuildercmkSecretConfig(Consumer<CmkSecretConfig.Builder> cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, which includes the password that DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed KMS key.cmkSecretConfig(CmkSecretConfig cmkSecretConfig) Specifies configuration information for a DataSync-managed secret, which includes the password that DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed KMS key.default FsxProtocolSmb.BuildercustomSecretConfig(Consumer<CustomSecretConfig.Builder> customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where the password for an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager.customSecretConfig(CustomSecretConfig customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where the password for an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager.Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to.default FsxProtocolSmb.BuildermanagedSecretConfig(Consumer<ManagedSecretConfig.Builder> managedSecretConfig) Describes configuration information for a DataSync-managed secret, such as aPasswordthat DataSync uses to access a specific storage location.managedSecretConfig(ManagedSecretConfig managedSecretConfig) Describes configuration information for a DataSync-managed secret, such as aPasswordthat DataSync uses to access a specific storage location.default FsxProtocolSmb.BuildermountOptions(Consumer<SmbMountOptions.Builder> mountOptions) Sets the value of the MountOptions property for this object.mountOptions(SmbMountOptions mountOptions) Sets the value of the MountOptions property for this object.Specifies the password of a user who has permission to access your SVM.Specifies a user that can mount and access the files, folders, and metadata in your SVM.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domain
Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to.
If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right SVM.
- Parameters:
domain- Specifies the name of the Windows domain that your storage virtual machine (SVM) belongs to.If you have multiple domains in your environment, configuring this setting makes sure that DataSync connects to the right SVM.
If you have multiple Active Directory domains in your environment, configuring this parameter makes sure that DataSync connects to the right SVM.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
Sets the value of the MountOptions property for this object.- Parameters:
mountOptions- The new value for the MountOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
Sets the value of the MountOptions property for this object. This is a convenience method that creates an instance of theSmbMountOptions.Builderavoiding the need to create one manually viaSmbMountOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomountOptions(SmbMountOptions).- Parameters:
mountOptions- a consumer that will call methods onSmbMountOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
password
Specifies the password of a user who has permission to access your SVM.
- Parameters:
password- Specifies the password of a user who has permission to access your SVM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
user
Specifies a user that can mount and access the files, folders, and metadata in your SVM.
For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
- Parameters:
user- Specifies a user that can mount and access the files, folders, and metadata in your SVM.For information about choosing a user with the right level of access for your transfer, see Using the SMB protocol.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedSecretConfig
Describes configuration information for a DataSync-managed secret, such as a
Passwordthat DataSync uses to access a specific storage location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.Do not provide this for a
CreateLocationrequest.ManagedSecretConfigis a ReadOnly property and is only be populated in theDescribeLocationresponse.- Parameters:
managedSecretConfig- Describes configuration information for a DataSync-managed secret, such as aPasswordthat DataSync uses to access a specific storage location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager.Do not provide this for a
CreateLocationrequest.ManagedSecretConfigis a ReadOnly property and is only be populated in theDescribeLocationresponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedSecretConfig
default FsxProtocolSmb.Builder managedSecretConfig(Consumer<ManagedSecretConfig.Builder> managedSecretConfig) Describes configuration information for a DataSync-managed secret, such as a
Passwordthat DataSync uses to access a specific storage location. DataSync uses the default Amazon Web Services-managed KMS key to encrypt this secret in Secrets Manager. This is a convenience method that creates an instance of theDo not provide this for a
CreateLocationrequest.ManagedSecretConfigis a ReadOnly property and is only be populated in theDescribeLocationresponse.ManagedSecretConfig.Builderavoiding the need to create one manually viaManagedSecretConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedSecretConfig(ManagedSecretConfig).- Parameters:
managedSecretConfig- a consumer that will call methods onManagedSecretConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cmkSecretConfig
Specifies configuration information for a DataSync-managed secret, which includes the password that DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed KMS key.
When you include this parameter as part of a
CreateLocationFsxOntaprequest, you provide only the KMS key ARN. DataSync uses this KMS key together with thePasswordyou specify for to create a DataSync-managed secret to store the location access credentials.Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key.
You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.- Parameters:
cmkSecretConfig- Specifies configuration information for a DataSync-managed secret, which includes the password that DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed KMS key.When you include this parameter as part of a
CreateLocationFsxOntaprequest, you provide only the KMS key ARN. DataSync uses this KMS key together with thePasswordyou specify for to create a DataSync-managed secret to store the location access credentials.Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key.
You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cmkSecretConfig
Specifies configuration information for a DataSync-managed secret, which includes the password that DataSync uses to access a specific FSx for ONTAP storage location (using SMB), with a customer-managed KMS key.
When you include this parameter as part of a
CreateLocationFsxOntaprequest, you provide only the KMS key ARN. DataSync uses this KMS key together with thePasswordyou specify for to create a DataSync-managed secret to store the location access credentials.Make sure that DataSync has permission to access the KMS key that you specify. For more information, see Using a service-managed secret encrypted with a custom KMS key.
This is a convenience method that creates an instance of theYou can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.CmkSecretConfig.Builderavoiding the need to create one manually viaCmkSecretConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocmkSecretConfig(CmkSecretConfig).- Parameters:
cmkSecretConfig- a consumer that will call methods onCmkSecretConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customSecretConfig
Specifies configuration information for a customer-managed Secrets Manager secret where the password for an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. For more information, see Using a secret that you manage.
You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.- Parameters:
customSecretConfig- Specifies configuration information for a customer-managed Secrets Manager secret where the password for an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. For more information, see Using a secret that you manage.You can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customSecretConfig
default FsxProtocolSmb.Builder customSecretConfig(Consumer<CustomSecretConfig.Builder> customSecretConfig) Specifies configuration information for a customer-managed Secrets Manager secret where the password for an FSx for ONTAP storage location (using SMB) is stored in plain text, in Secrets Manager. This configuration includes the secret ARN, and the ARN for an IAM role that provides access to the secret. For more information, see Using a secret that you manage.
This is a convenience method that creates an instance of theYou can use either
CmkSecretConfig(withPassword) orCustomSecretConfig(withoutPassword) to provide credentials for aCreateLocationFsxOntaprequest. Do not provide both parameters for the same request.CustomSecretConfig.Builderavoiding the need to create one manually viaCustomSecretConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomSecretConfig(CustomSecretConfig).- Parameters:
customSecretConfig- a consumer that will call methods onCustomSecretConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-