Class CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty>
- Enclosing interface:
CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty
@Stability(Stable)
public static final class CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty>
A builder for
CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.getKmsKeyArn()Sets the value ofCfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.Builder kmsKeyArn(String kmsKeyArn) Sets the value ofCfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.getKmsKeyArn()- Parameters:
kmsKeyArn- Specifies the ARN for the customer-managed AWS KMS key used to encrypt the secret specified for SecretArn. DataSync provides this key to AWS Secrets Manager.- Returns:
this
-
secretArn
@Stability(Stable) public CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.Builder secretArn(String secretArn) Sets the value ofCfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty.getSecretArn()- Parameters:
secretArn- Specifies the ARN for an AWS Secrets Manager secret, managed by DataSync.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty>- Returns:
- a new instance of
CfnLocationFSxWindowsPropsMixin.CmkSecretConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-