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