Class CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty>
- Enclosing interface:
CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty
@Stability(Stable)
public static final class CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.secretAccessRoleArn(String secretAccessRoleArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretAccessRoleArn
@Stability(Stable) public CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty.Builder secretAccessRoleArn(String secretAccessRoleArn) Sets the value ofCfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty.getSecretAccessRoleArn()- Parameters:
secretAccessRoleArn- Specifies the ARN for the AWS Identity and Access Management role that DataSync uses to access the secret specified forSecretArn.- Returns:
this
-
secretArn
@Stability(Stable) public CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty.Builder secretArn(String secretArn) - Parameters:
secretArn- Specifies the ARN for an AWS Secrets Manager secret.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty>- Returns:
- a new instance of
CfnLocationObjectStoragePropsMixin.CustomSecretConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-