Class CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty>
A builder for
CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.getAwsRegion()awsSecretStoreArn(String awsSecretStoreArn) awsSecretStoreArn(ISecretRef awsSecretStoreArn) build()Builds the configured instance.databaseName(String databaseName) Sets the value ofCfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.getDatabaseName()dbClusterIdentifier(String dbClusterIdentifier) dbClusterIdentifier(IDBClusterRef dbClusterIdentifier) Sets the value ofCfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.getSchema()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsRegion
@Stability(Stable) public CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder awsRegion(String awsRegion) Sets the value ofCfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.getAwsRegion()- Parameters:
awsRegion- AWS Region for RDS HTTP endpoint.- Returns:
this
-
awsSecretStoreArn
@Stability(Stable) public CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder awsSecretStoreArn(String awsSecretStoreArn) - Parameters:
awsSecretStoreArn- The ARN for database credentials stored in AWS Secrets Manager .- Returns:
this
-
awsSecretStoreArn
@Stability(Stable) public CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder awsSecretStoreArn(ISecretRef awsSecretStoreArn) - Parameters:
awsSecretStoreArn- The ARN for database credentials stored in AWS Secrets Manager .- Returns:
this
-
databaseName
@Stability(Stable) public CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder databaseName(String databaseName) Sets the value ofCfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.getDatabaseName()- Parameters:
databaseName- Logical database name.- Returns:
this
-
dbClusterIdentifier
@Stability(Stable) public CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder dbClusterIdentifier(String dbClusterIdentifier) - Parameters:
dbClusterIdentifier- Amazon RDS cluster Amazon Resource Name (ARN).- Returns:
this
-
dbClusterIdentifier
@Stability(Stable) public CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder dbClusterIdentifier(IDBClusterRef dbClusterIdentifier) - Parameters:
dbClusterIdentifier- Amazon RDS cluster Amazon Resource Name (ARN).- Returns:
this
-
schema
@Stability(Stable) public CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.Builder schema(String schema) Sets the value ofCfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty.getSchema()- Parameters:
schema- Logical schema name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.RdsHttpEndpointConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-