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