Class CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty>
- Enclosing interface:
CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty
@Stability(Stable)
public static final class CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyArn
@Stability(Stable) public CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty.Builder kmsKeyArn(String kmsKeyArn) - Parameters:
kmsKeyArn- Specifies the ARN for the customer-managed AWS KMS key that DataSync uses to encrypt the DataSync-managed secret stored forSecretArn. DataSync provides this key to AWS Secrets Manager .- Returns:
this
-
secretArn
@Stability(Stable) public CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty.Builder secretArn(String secretArn) - Parameters:
secretArn- Specifies the ARN for the DataSync-managed AWS Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify forKmsKeyArn.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty>- Returns:
- a new instance of
CfnLocationObjectStoragePropsMixin.CmkSecretConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-