public static final class CfnDBInstance.Builder
extends java.lang.Object
CfnDBInstance
.Modifier and Type | Method and Description |
---|---|
CfnDBInstance.Builder |
allowMajorVersionUpgrade(java.lang.Boolean allowMajorVersionUpgrade)
Indicates that major version upgrades are allowed.
|
CfnDBInstance.Builder |
allowMajorVersionUpgrade(IResolvable allowMajorVersionUpgrade)
Indicates that major version upgrades are allowed.
|
CfnDBInstance.Builder |
autoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.
|
CfnDBInstance.Builder |
autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade)
Indicates that minor version patches are applied automatically.
|
CfnDBInstance.Builder |
availabilityZone(java.lang.String availabilityZone)
Specifies the name of the Availability Zone the DB instance is located in.
|
CfnDBInstance |
build() |
static CfnDBInstance.Builder |
create(Construct scope,
java.lang.String id) |
CfnDBInstance.Builder |
dbClusterIdentifier(java.lang.String dbClusterIdentifier)
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
|
CfnDBInstance.Builder |
dbInstanceClass(java.lang.String dbInstanceClass)
Contains the name of the compute and memory capacity class of the DB instance.
|
CfnDBInstance.Builder |
dbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
Contains a user-supplied database identifier.
|
CfnDBInstance.Builder |
dbParameterGroupName(java.lang.String dbParameterGroupName)
The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template.
|
CfnDBInstance.Builder |
dbSnapshotIdentifier(java.lang.String dbSnapshotIdentifier)
This parameter is not supported.
|
CfnDBInstance.Builder |
dbSubnetGroupName(java.lang.String dbSubnetGroupName)
A DB subnet group to associate with the DB instance.
|
CfnDBInstance.Builder |
preferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
CfnDBInstance.Builder |
tags(java.util.List<? extends CfnTag> tags)
An arbitrary set of tags (key-value pairs) for this DB instance.
|
public static CfnDBInstance.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnDBInstance.Builder
.public CfnDBInstance.Builder dbInstanceClass(java.lang.String dbInstanceClass)
If you update this property, some interruptions may occur.
dbInstanceClass
- Contains the name of the compute and memory capacity class of the DB instance. This parameter is required.this
public CfnDBInstance.Builder allowMajorVersionUpgrade(java.lang.Boolean allowMajorVersionUpgrade)
Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
allowMajorVersionUpgrade
- Indicates that major version upgrades are allowed. This parameter is required.this
public CfnDBInstance.Builder allowMajorVersionUpgrade(IResolvable allowMajorVersionUpgrade)
Changing this parameter doesn't result in an outage and the change is asynchronously applied as soon as possible. This parameter must be set to true when specifying a value for the EngineVersion parameter that is a different major version than the DB instance's current version.
allowMajorVersionUpgrade
- Indicates that major version upgrades are allowed. This parameter is required.this
public CfnDBInstance.Builder autoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade)
When updating this property, some interruptions may occur.
autoMinorVersionUpgrade
- Indicates that minor version patches are applied automatically. This parameter is required.this
public CfnDBInstance.Builder autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade)
When updating this property, some interruptions may occur.
autoMinorVersionUpgrade
- Indicates that minor version patches are applied automatically. This parameter is required.this
public CfnDBInstance.Builder availabilityZone(java.lang.String availabilityZone)
availabilityZone
- Specifies the name of the Availability Zone the DB instance is located in. This parameter is required.this
public CfnDBInstance.Builder dbClusterIdentifier(java.lang.String dbClusterIdentifier)
dbClusterIdentifier
- If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of. This parameter is required.this
public CfnDBInstance.Builder dbInstanceIdentifier(java.lang.String dbInstanceIdentifier)
This identifier is the unique key that identifies a DB instance.
dbInstanceIdentifier
- Contains a user-supplied database identifier. This parameter is required.this
public CfnDBInstance.Builder dbParameterGroupName(java.lang.String dbParameterGroupName)
If any of the data members of the referenced parameter group are changed during an update, the DB instance might need to be restarted, which causes some interruption. If the parameter group contains static parameters, whether they were changed or not, an update triggers a reboot.
dbParameterGroupName
- The name of an existing DB parameter group or a reference to an AWS::Neptune::DBParameterGroup resource created in the template. This parameter is required.this
public CfnDBInstance.Builder dbSnapshotIdentifier(java.lang.String dbSnapshotIdentifier)
AWS::Neptune::DBInstance
does not support restoring from snapshots.
AWS::Neptune::DBCluster
does support restoring from snapshots.
dbSnapshotIdentifier
- This parameter is not supported. This parameter is required.this
public CfnDBInstance.Builder dbSubnetGroupName(java.lang.String dbSubnetGroupName)
If you update this value, the new subnet group must be a subnet group in a new virtual private cloud (VPC).
dbSubnetGroupName
- A DB subnet group to associate with the DB instance. This parameter is required.this
public CfnDBInstance.Builder preferredMaintenanceWindow(java.lang.String preferredMaintenanceWindow)
preferredMaintenanceWindow
- Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC). This parameter is required.this
public CfnDBInstance.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- An arbitrary set of tags (key-value pairs) for this DB instance. This parameter is required.this
public CfnDBInstance build()