@Stability(value=Stable) public static final class ProxyTargetConfig.Builder extends Object implements software.amazon.jsii.Builder<ProxyTargetConfig>
ProxyTargetConfig| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ProxyTargetConfig |
build()
Builds the configured instance.
|
ProxyTargetConfig.Builder |
dbClusters(List<? extends IDatabaseCluster> dbClusters)
Sets the value of
ProxyTargetConfig.getDbClusters() |
ProxyTargetConfig.Builder |
dbInstances(List<? extends IDatabaseInstance> dbInstances)
Sets the value of
ProxyTargetConfig.getDbInstances() |
ProxyTargetConfig.Builder |
engineFamily(String engineFamily)
Sets the value of
ProxyTargetConfig.getEngineFamily() |
@Stability(value=Stable) public ProxyTargetConfig.Builder engineFamily(String engineFamily)
ProxyTargetConfig.getEngineFamily()engineFamily - The engine family of the database instance or cluster this proxy connects with. This parameter is required.this@Stability(value=Stable) public ProxyTargetConfig.Builder dbClusters(List<? extends IDatabaseCluster> dbClusters)
ProxyTargetConfig.getDbClusters()dbClusters - The database clusters to which this proxy connects.
Either this or dbInstances will be set and the other undefined.this@Stability(value=Stable) public ProxyTargetConfig.Builder dbInstances(List<? extends IDatabaseInstance> dbInstances)
ProxyTargetConfig.getDbInstances()dbInstances - The database instances to which this proxy connects.
Either this or dbClusters will be set and the other undefined.this@Stability(value=Stable) public ProxyTargetConfig build()
build in interface software.amazon.jsii.Builder<ProxyTargetConfig>ProxyTargetConfigNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.