@Stability(value=Stable) public static final class CfnDBClusterProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDBClusterProps>
CfnDBClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDBClusterProps.Builder associatedRoles(IResolvable associatedRoles)
CfnDBClusterProps.getAssociatedRoles()associatedRoles - Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster.
IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.this@Stability(value=Stable) public CfnDBClusterProps.Builder associatedRoles(List<? extends Object> associatedRoles)
CfnDBClusterProps.getAssociatedRoles()associatedRoles - Provides a list of the Amazon Identity and Access Management (IAM) roles that are associated with the DB cluster.
IAM roles that are associated with a DB cluster grant permission for the DB cluster to access other Amazon services on your behalf.this@Stability(value=Stable) public CfnDBClusterProps.Builder availabilityZones(List<String> availabilityZones)
CfnDBClusterProps.getAvailabilityZones()availabilityZones - Provides the list of EC2 Availability Zones that instances in the DB cluster can be created in.this@Stability(value=Stable) public CfnDBClusterProps.Builder backupRetentionPeriod(Number backupRetentionPeriod)
CfnDBClusterProps.getBackupRetentionPeriod()backupRetentionPeriod - Specifies the number of days for which automatic DB snapshots are retained.
An update may require some interruption. See ModifyDBInstance in the Amazon Neptune User Guide for more information.this@Stability(value=Stable) public CfnDBClusterProps.Builder dbClusterIdentifier(String dbClusterIdentifier)
CfnDBClusterProps.getDbClusterIdentifier()dbClusterIdentifier - Contains a user-supplied DB cluster identifier.
This identifier is the unique key that identifies a DB cluster.this@Stability(value=Stable) public CfnDBClusterProps.Builder dbClusterParameterGroupName(String dbClusterParameterGroupName)
CfnDBClusterProps.getDbClusterParameterGroupName()dbClusterParameterGroupName - Provides the name of the DB cluster parameter group.
An update may require some interruption. See ModifyDBInstance in the Amazon Neptune User Guide for more information.this@Stability(value=Stable) public CfnDBClusterProps.Builder dbSubnetGroupName(String dbSubnetGroupName)
CfnDBClusterProps.getDbSubnetGroupName()dbSubnetGroupName - Specifies information on the subnet group associated with the DB cluster, including the name, description, and subnets in the subnet group.this@Stability(value=Stable) public CfnDBClusterProps.Builder deletionProtection(Boolean deletionProtection)
CfnDBClusterProps.getDeletionProtection()deletionProtection - Indicates whether or not the DB cluster has deletion protection enabled.
The database can't be deleted when deletion protection is enabled.this@Stability(value=Stable) public CfnDBClusterProps.Builder deletionProtection(IResolvable deletionProtection)
CfnDBClusterProps.getDeletionProtection()deletionProtection - Indicates whether or not the DB cluster has deletion protection enabled.
The database can't be deleted when deletion protection is enabled.this@Stability(value=Stable) public CfnDBClusterProps.Builder enableCloudwatchLogsExports(List<String> enableCloudwatchLogsExports)
CfnDBClusterProps.getEnableCloudwatchLogsExports()enableCloudwatchLogsExports - Specifies a list of log types that are enabled for export to CloudWatch Logs.this@Stability(value=Stable) public CfnDBClusterProps.Builder engineVersion(String engineVersion)
CfnDBClusterProps.getEngineVersion()engineVersion - Indicates the database engine version.this@Stability(value=Stable) public CfnDBClusterProps.Builder iamAuthEnabled(Boolean iamAuthEnabled)
CfnDBClusterProps.getIamAuthEnabled()iamAuthEnabled - True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.this@Stability(value=Stable) public CfnDBClusterProps.Builder iamAuthEnabled(IResolvable iamAuthEnabled)
CfnDBClusterProps.getIamAuthEnabled()iamAuthEnabled - True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.this@Stability(value=Stable) public CfnDBClusterProps.Builder kmsKeyId(String kmsKeyId)
CfnDBClusterProps.getKmsKeyId()kmsKeyId - If `StorageEncrypted` is true, the Amazon KMS key identifier for the encrypted DB cluster.this@Stability(value=Stable) public CfnDBClusterProps.Builder port(Number port)
CfnDBClusterProps.getPort()port - Specifies the port that the database engine is listening on.this@Stability(value=Stable) public CfnDBClusterProps.Builder preferredBackupWindow(String preferredBackupWindow)
CfnDBClusterProps.getPreferredBackupWindow()preferredBackupWindow - Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the `BackupRetentionPeriod` .
An update may require some interruption.this@Stability(value=Stable) public CfnDBClusterProps.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
CfnDBClusterProps.getPreferredMaintenanceWindow()preferredMaintenanceWindow - Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).this@Stability(value=Stable) public CfnDBClusterProps.Builder restoreToTime(String restoreToTime)
CfnDBClusterProps.getRestoreToTime()restoreToTime - Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group.
If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
this@Stability(value=Stable) public CfnDBClusterProps.Builder restoreType(String restoreType)
CfnDBClusterProps.getRestoreType()restoreType - Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group.
If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
this@Stability(value=Stable) public CfnDBClusterProps.Builder snapshotIdentifier(String snapshotIdentifier)
CfnDBClusterProps.getSnapshotIdentifier()snapshotIdentifier - Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot.
After you restore a DB cluster using a SnapshotIdentifier , you must specify the same SnapshotIdentifier for any future updates to the DB cluster. When you specify this property for an update, the DB cluster is not restored from the snapshot again, and the data in the database is not changed.
However, if you don't specify the SnapshotIdentifier , an empty DB cluster is created, and the original DB cluster is deleted. If you specify a property that is different from the previous snapshot restore property, the DB cluster is restored from the snapshot specified by the SnapshotIdentifier , and the original DB cluster is deleted.
this@Stability(value=Stable) public CfnDBClusterProps.Builder sourceDbClusterIdentifier(String sourceDbClusterIdentifier)
CfnDBClusterProps.getSourceDbClusterIdentifier()sourceDbClusterIdentifier - Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group.
If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
this@Stability(value=Stable) public CfnDBClusterProps.Builder storageEncrypted(Boolean storageEncrypted)
CfnDBClusterProps.getStorageEncrypted()storageEncrypted - Indicates whether the DB cluster is encrypted.
If you specify the DBClusterIdentifier , DBSnapshotIdentifier , or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance. If you specify the KmsKeyId property, you must enable encryption.
If you specify the KmsKeyId , you must enable encryption by setting StorageEncrypted to true.
this@Stability(value=Stable) public CfnDBClusterProps.Builder storageEncrypted(IResolvable storageEncrypted)
CfnDBClusterProps.getStorageEncrypted()storageEncrypted - Indicates whether the DB cluster is encrypted.
If you specify the DBClusterIdentifier , DBSnapshotIdentifier , or SourceDBInstanceIdentifier property, don't specify this property. The value is inherited from the cluster, snapshot, or source DB instance. If you specify the KmsKeyId property, you must enable encryption.
If you specify the KmsKeyId , you must enable encryption by setting StorageEncrypted to true.
this@Stability(value=Stable) public CfnDBClusterProps.Builder tags(List<? extends CfnTag> tags)
CfnDBClusterProps.getTags()tags - The tags assigned to this cluster.this@Stability(value=Stable) public CfnDBClusterProps.Builder useLatestRestorableTime(Boolean useLatestRestorableTime)
CfnDBClusterProps.getUseLatestRestorableTime()useLatestRestorableTime - Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group.
If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
this@Stability(value=Stable) public CfnDBClusterProps.Builder useLatestRestorableTime(IResolvable useLatestRestorableTime)
CfnDBClusterProps.getUseLatestRestorableTime()useLatestRestorableTime - Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
If a DB snapshot is specified, the target DB cluster is created from the source DB snapshot with a default configuration and default security group.
If a DB cluster snapshot is specified, the target DB cluster is created from the source DB cluster restore point with the same configuration as the original source DB cluster, except that the new DB cluster is created with the default security group.
this@Stability(value=Stable) public CfnDBClusterProps.Builder vpcSecurityGroupIds(List<String> vpcSecurityGroupIds)
CfnDBClusterProps.getVpcSecurityGroupIds()vpcSecurityGroupIds - Provides a list of VPC security groups that the DB cluster belongs to.this@Stability(value=Stable) public CfnDBClusterProps build()
build in interface software.amazon.jsii.Builder<CfnDBClusterProps>CfnDBClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.