@Stability(value=Stable) public static final class ServerlessClusterProps.Builder extends Object implements software.amazon.jsii.Builder<ServerlessClusterProps>
ServerlessClusterProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public ServerlessClusterProps.Builder engine(IClusterEngine engine)
ServerlessClusterProps.getEngine()engine - What kind of database to start. This parameter is required.this@Stability(value=Stable) public ServerlessClusterProps.Builder backupRetention(Duration backupRetention)
ServerlessClusterProps.getBackupRetention()backupRetention - The number of days during which automatic DB snapshots are retained.
Automatic backup retention cannot be disabled on serverless clusters.
Must be a value from 1 day to 35 days.this@Stability(value=Stable) public ServerlessClusterProps.Builder clusterIdentifier(String clusterIdentifier)
ServerlessClusterProps.getClusterIdentifier()clusterIdentifier - An optional identifier for the cluster.this@Stability(value=Stable) public ServerlessClusterProps.Builder copyTagsToSnapshot(Boolean copyTagsToSnapshot)
ServerlessClusterProps.getCopyTagsToSnapshot()copyTagsToSnapshot - Whether to copy tags to the snapshot when a snapshot is created.this@Stability(value=Stable) public ServerlessClusterProps.Builder credentials(Credentials credentials)
ServerlessClusterProps.getCredentials()credentials - Credentials for the administrative user.this@Stability(value=Stable) public ServerlessClusterProps.Builder defaultDatabaseName(String defaultDatabaseName)
ServerlessClusterProps.getDefaultDatabaseName()defaultDatabaseName - Name of a database which is automatically created inside the cluster.this@Stability(value=Stable) public ServerlessClusterProps.Builder deletionProtection(Boolean deletionProtection)
ServerlessClusterProps.getDeletionProtection()deletionProtection - Indicates whether the DB cluster should have deletion protection enabled.this@Stability(value=Stable) public ServerlessClusterProps.Builder enableDataApi(Boolean enableDataApi)
ServerlessClusterProps.getEnableDataApi()enableDataApi - Whether to enable the Data API.this@Stability(value=Stable) public ServerlessClusterProps.Builder parameterGroup(IParameterGroup parameterGroup)
ServerlessClusterProps.getParameterGroup()parameterGroup - Additional parameters to pass to the database engine.this@Stability(value=Stable) public ServerlessClusterProps.Builder removalPolicy(RemovalPolicy removalPolicy)
ServerlessClusterProps.getRemovalPolicy()removalPolicy - The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.this@Stability(value=Stable) public ServerlessClusterProps.Builder scaling(ServerlessScalingOptions scaling)
ServerlessClusterProps.getScaling()scaling - Scaling configuration of an Aurora Serverless database cluster.this@Stability(value=Stable) public ServerlessClusterProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
ServerlessClusterProps.getSecurityGroups()securityGroups - Security group.this@Stability(value=Stable) public ServerlessClusterProps.Builder storageEncryptionKey(IKey storageEncryptionKey)
ServerlessClusterProps.getStorageEncryptionKey()storageEncryptionKey - The KMS key for storage encryption.this@Stability(value=Stable) public ServerlessClusterProps.Builder subnetGroup(ISubnetGroup subnetGroup)
ServerlessClusterProps.getSubnetGroup()subnetGroup - Existing subnet group for the cluster.this@Stability(value=Stable) public ServerlessClusterProps.Builder vpc(IVpc vpc)
ServerlessClusterProps.getVpc()vpc - The VPC that this Aurora Serverless cluster has been created in.this@Stability(value=Stable) public ServerlessClusterProps.Builder vpcSubnets(SubnetSelection vpcSubnets)
ServerlessClusterProps.getVpcSubnets()vpcSubnets - Where to place the instances within the VPC.
If provided, the vpc property must also be specified.this@Stability(value=Stable) public ServerlessClusterProps build()
build in interface software.amazon.jsii.Builder<ServerlessClusterProps>ServerlessClusterPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.