Class CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datasync.CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty>
- Enclosing interface:
CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty
@Stability(Stable)
public static final class CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocationFSxWindowsPropsMixin.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 CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty.Builder secretAccessRoleArn(String secretAccessRoleArn) Sets the value ofCfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty.getSecretAccessRoleArn()- 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 CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty.Builder secretArn(String secretArn) - 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<CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty>- Returns:
- a new instance of
CfnLocationFSxWindowsPropsMixin.CustomSecretConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-