Class CfnLocationSMB.ManagedSecretConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.datasync.CfnLocationSMB.ManagedSecretConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationSMB.ManagedSecretConfigProperty>
- Enclosing interface:
CfnLocationSMB.ManagedSecretConfigProperty
@Stability(Stable)
public static final class CfnLocationSMB.ManagedSecretConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationSMB.ManagedSecretConfigProperty>
A builder for
CfnLocationSMB.ManagedSecretConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLocationSMB.ManagedSecretConfigProperty.getSecretArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretArn
@Stability(Stable) public CfnLocationSMB.ManagedSecretConfigProperty.Builder secretArn(String secretArn) Sets the value ofCfnLocationSMB.ManagedSecretConfigProperty.getSecretArn()- Parameters:
secretArn- Specifies the ARN for an AWS Secrets Manager secret. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocationSMB.ManagedSecretConfigProperty>- Returns:
- a new instance of
CfnLocationSMB.ManagedSecretConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-