Class CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty>
- Enclosing interface:
CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty
@Stability(Stable)
public static final class CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty>
A builder for
CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLocationHDFSPropsMixin.ManagedSecretConfigProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretArn
@Stability(Stable) public CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty.Builder secretArn(String secretArn) Sets the value ofCfnLocationHDFSPropsMixin.ManagedSecretConfigProperty.getSecretArn()- 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<CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty>- Returns:
- a new instance of
CfnLocationHDFSPropsMixin.ManagedSecretConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-