Class CfnDataSource.RelationalDatabaseConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnDataSource.RelationalDatabaseConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.RelationalDatabaseConfigProperty>
- Enclosing interface:
CfnDataSource.RelationalDatabaseConfigProperty
@Stability(Stable)
public static final class CfnDataSource.RelationalDatabaseConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.RelationalDatabaseConfigProperty>
A builder for
CfnDataSource.RelationalDatabaseConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.rdsHttpEndpointConfig
(IResolvable rdsHttpEndpointConfig) rdsHttpEndpointConfig
(CfnDataSource.RdsHttpEndpointConfigProperty rdsHttpEndpointConfig) relationalDatabaseSourceType
(String relationalDatabaseSourceType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
relationalDatabaseSourceType
@Stability(Stable) public CfnDataSource.RelationalDatabaseConfigProperty.Builder relationalDatabaseSourceType(String relationalDatabaseSourceType) - Parameters:
relationalDatabaseSourceType
- The type of relational data source. This parameter is required.- Returns:
this
-
rdsHttpEndpointConfig
@Stability(Stable) public CfnDataSource.RelationalDatabaseConfigProperty.Builder rdsHttpEndpointConfig(IResolvable rdsHttpEndpointConfig) - Parameters:
rdsHttpEndpointConfig
- Information about the Amazon RDS resource.- Returns:
this
-
rdsHttpEndpointConfig
@Stability(Stable) public CfnDataSource.RelationalDatabaseConfigProperty.Builder rdsHttpEndpointConfig(CfnDataSource.RdsHttpEndpointConfigProperty rdsHttpEndpointConfig) - Parameters:
rdsHttpEndpointConfig
- Information about the Amazon RDS resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.RelationalDatabaseConfigProperty>
- Returns:
- a new instance of
CfnDataSource.RelationalDatabaseConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-