@Stability(value=Experimental) public static final class DatabaseInstanceProps.Builder extends Object implements software.amazon.jsii.Builder<DatabaseInstanceProps>
DatabaseInstanceProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DatabaseInstanceProps.Builder |
availabilityZone(String availabilityZone)
Sets the value of
DatabaseInstanceProps.getAvailabilityZone() |
DatabaseInstanceProps |
build()
Builds the configured instance.
|
DatabaseInstanceProps.Builder |
cluster(IDatabaseCluster cluster)
Sets the value of
DatabaseInstanceProps.getCluster() |
DatabaseInstanceProps.Builder |
dbInstanceName(String dbInstanceName)
Sets the value of
DatabaseInstanceProps.getDbInstanceName() |
DatabaseInstanceProps.Builder |
instanceType(InstanceType instanceType)
Sets the value of
DatabaseInstanceProps.getInstanceType() |
DatabaseInstanceProps.Builder |
parameterGroup(IParameterGroup parameterGroup)
Sets the value of
DatabaseInstanceProps.getParameterGroup() |
DatabaseInstanceProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
DatabaseInstanceProps.getRemovalPolicy() |
@Stability(value=Experimental) public DatabaseInstanceProps.Builder cluster(IDatabaseCluster cluster)
DatabaseInstanceProps.getCluster()cluster - The Neptune database cluster the instance should launch into. This parameter is required.this@Stability(value=Experimental) public DatabaseInstanceProps.Builder instanceType(InstanceType instanceType)
DatabaseInstanceProps.getInstanceType()instanceType - What type of instance to start for the replicas. This parameter is required.this@Stability(value=Experimental) public DatabaseInstanceProps.Builder availabilityZone(String availabilityZone)
DatabaseInstanceProps.getAvailabilityZone()availabilityZone - The name of the Availability Zone where the DB instance will be located.this@Stability(value=Experimental) public DatabaseInstanceProps.Builder dbInstanceName(String dbInstanceName)
DatabaseInstanceProps.getDbInstanceName()dbInstanceName - A name for the DB instance.
If you specify a name, AWS CloudFormation
converts it to lowercase.this@Stability(value=Experimental) public DatabaseInstanceProps.Builder parameterGroup(IParameterGroup parameterGroup)
DatabaseInstanceProps.getParameterGroup()parameterGroup - The DB parameter group to associate with the instance.this@Stability(value=Experimental) public DatabaseInstanceProps.Builder removalPolicy(RemovalPolicy removalPolicy)
DatabaseInstanceProps.getRemovalPolicy()removalPolicy - The CloudFormation policy to apply when the instance is removed from the stack or replaced during an update.this@Stability(value=Experimental) public DatabaseInstanceProps build()
build in interface software.amazon.jsii.Builder<DatabaseInstanceProps>DatabaseInstancePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.