@Stability(value=Stable) public static final class CfnDBInstanceProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDBInstanceProps>
CfnDBInstanceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDBInstanceProps.Builder dbClusterIdentifier(String dbClusterIdentifier)
CfnDBInstanceProps.getDbClusterIdentifier()dbClusterIdentifier - The identifier of the cluster that the instance will belong to. This parameter is required.this@Stability(value=Stable) public CfnDBInstanceProps.Builder dbInstanceClass(String dbInstanceClass)
CfnDBInstanceProps.getDbInstanceClass()dbInstanceClass - The compute and memory capacity of the instance;. This parameter is required.
for example, db.m4.large . If you change the class of an instance there can be some interruption in the cluster's service.this@Stability(value=Stable) public CfnDBInstanceProps.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
CfnDBInstanceProps.getAutoMinorVersionUpgrade()autoMinorVersionUpgrade - This parameter does not apply to Amazon DocumentDB.
Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default: false
this@Stability(value=Stable) public CfnDBInstanceProps.Builder autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade)
CfnDBInstanceProps.getAutoMinorVersionUpgrade()autoMinorVersionUpgrade - This parameter does not apply to Amazon DocumentDB.
Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default: false
this@Stability(value=Stable) public CfnDBInstanceProps.Builder availabilityZone(String availabilityZone)
CfnDBInstanceProps.getAvailabilityZone()availabilityZone - The Amazon EC2 Availability Zone that the instance is created in.
Default: A random, system-chosen Availability Zone in the endpoint's AWS Region .
Example: us-east-1d
this@Stability(value=Stable) public CfnDBInstanceProps.Builder dbInstanceIdentifier(String dbInstanceIdentifier)
CfnDBInstanceProps.getDbInstanceIdentifier()dbInstanceIdentifier - The instance identifier. This parameter is stored as a lowercase string.
Constraints:
Example: mydbinstance
this@Stability(value=Stable) public CfnDBInstanceProps.Builder enablePerformanceInsights(Boolean enablePerformanceInsights)
CfnDBInstanceProps.getEnablePerformanceInsights()enablePerformanceInsights - `AWS::DocDB::DBInstance.EnablePerformanceInsights`.this@Stability(value=Stable) public CfnDBInstanceProps.Builder enablePerformanceInsights(IResolvable enablePerformanceInsights)
CfnDBInstanceProps.getEnablePerformanceInsights()enablePerformanceInsights - `AWS::DocDB::DBInstance.EnablePerformanceInsights`.this@Stability(value=Stable) public CfnDBInstanceProps.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
CfnDBInstanceProps.getPreferredMaintenanceWindow()preferredMaintenanceWindow - The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).
Format: ddd:hh24:mi-ddd:hh24:mi
The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
this@Stability(value=Stable) public CfnDBInstanceProps.Builder tags(List<? extends CfnTag> tags)
CfnDBInstanceProps.getTags()tags - The tags to be assigned to the instance.
You can assign up to 10 tags to an instance.this@Stability(value=Stable) public CfnDBInstanceProps build()
build in interface software.amazon.jsii.Builder<CfnDBInstanceProps>CfnDBInstancePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.