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