@Stability(value=Experimental) public static final class RdsDataSourceProps.Builder extends Object implements software.amazon.jsii.Builder<RdsDataSourceProps>
RdsDataSourceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RdsDataSourceProps.Builder |
api(IGraphqlApi api)
Sets the value of
BaseDataSourceProps.getApi() |
RdsDataSourceProps |
build()
Builds the configured instance.
|
RdsDataSourceProps.Builder |
databaseName(String databaseName)
Sets the value of
RdsDataSourceProps.getDatabaseName() |
RdsDataSourceProps.Builder |
description(String description)
Sets the value of
BaseDataSourceProps.getDescription() |
RdsDataSourceProps.Builder |
name(String name)
Sets the value of
BaseDataSourceProps.getName() |
RdsDataSourceProps.Builder |
secretStore(ISecret secretStore)
Sets the value of
RdsDataSourceProps.getSecretStore() |
RdsDataSourceProps.Builder |
serverlessCluster(IServerlessCluster serverlessCluster)
Sets the value of
RdsDataSourceProps.getServerlessCluster() |
RdsDataSourceProps.Builder |
serviceRole(IRole serviceRole)
Sets the value of
BackedDataSourceProps.getServiceRole() |
@Stability(value=Experimental) public RdsDataSourceProps.Builder secretStore(ISecret secretStore)
RdsDataSourceProps.getSecretStore()secretStore - The secret containing the credentials for the database. This parameter is required.this@Stability(value=Experimental) public RdsDataSourceProps.Builder serverlessCluster(IServerlessCluster serverlessCluster)
RdsDataSourceProps.getServerlessCluster()serverlessCluster - The serverless cluster to call to interact with this data source. This parameter is required.this@Stability(value=Experimental) public RdsDataSourceProps.Builder databaseName(String databaseName)
RdsDataSourceProps.getDatabaseName()databaseName - The name of the database to use within the cluster.this@Stability(value=Experimental) public RdsDataSourceProps.Builder serviceRole(IRole serviceRole)
BackedDataSourceProps.getServiceRole()serviceRole - The IAM service role to be assumed by AppSync to interact with the data source.this@Stability(value=Experimental) public RdsDataSourceProps.Builder api(IGraphqlApi api)
BaseDataSourceProps.getApi()api - The API to attach this data source to. This parameter is required.this@Stability(value=Experimental) public RdsDataSourceProps.Builder description(String description)
BaseDataSourceProps.getDescription()description - the description of the data source.this@Stability(value=Experimental) public RdsDataSourceProps.Builder name(String name)
BaseDataSourceProps.getName()name - The name of the data source.this@Stability(value=Experimental) public RdsDataSourceProps build()
build in interface software.amazon.jsii.Builder<RdsDataSourceProps>RdsDataSourcePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.