@Stability(value=Stable) public static final class InstanceProps.Builder extends Object implements software.amazon.jsii.Builder<InstanceProps>
InstanceProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public InstanceProps.Builder vpc(IVpc vpc)
InstanceProps.getVpc()vpc - What subnets to run the RDS instances in. This parameter is required.
Must be at least 2 subnets in two different AZs.this@Stability(value=Stable) public InstanceProps.Builder allowMajorVersionUpgrade(Boolean allowMajorVersionUpgrade)
InstanceProps.getAllowMajorVersionUpgrade()allowMajorVersionUpgrade - Whether to allow upgrade of major version for the DB instance.this@Stability(value=Stable) public InstanceProps.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
InstanceProps.getAutoMinorVersionUpgrade()autoMinorVersionUpgrade - Whether to enable automatic upgrade of minor version for the DB instance.this@Stability(value=Stable) public InstanceProps.Builder deleteAutomatedBackups(Boolean deleteAutomatedBackups)
InstanceProps.getDeleteAutomatedBackups()deleteAutomatedBackups - Whether to remove automated backups immediately after the DB instance is deleted for the DB instance.this@Stability(value=Stable) public InstanceProps.Builder enablePerformanceInsights(Boolean enablePerformanceInsights)
InstanceProps.getEnablePerformanceInsights()enablePerformanceInsights - Whether to enable Performance Insights for the DB instance.this@Stability(value=Stable) public InstanceProps.Builder instanceType(InstanceType instanceType)
InstanceProps.getInstanceType()instanceType - What type of instance to start for the replicas.this@Stability(value=Stable) public InstanceProps.Builder parameterGroup(IParameterGroup parameterGroup)
InstanceProps.getParameterGroup()parameterGroup - The DB parameter group to associate with the instance.this@Stability(value=Stable) public InstanceProps.Builder parameters(Map<String,String> parameters)
InstanceProps.getParameters()parameters - The parameters in the DBParameterGroup to create automatically.
You can only specify parameterGroup or parameters but not both.
You need to use a versioned engine to auto-generate a DBParameterGroup.this@Stability(value=Stable) public InstanceProps.Builder performanceInsightEncryptionKey(IKey performanceInsightEncryptionKey)
InstanceProps.getPerformanceInsightEncryptionKey()performanceInsightEncryptionKey - The AWS KMS key for encryption of Performance Insights data.this@Stability(value=Stable) public InstanceProps.Builder performanceInsightRetention(PerformanceInsightRetention performanceInsightRetention)
InstanceProps.getPerformanceInsightRetention()performanceInsightRetention - The amount of time, in days, to retain Performance Insights data.this@Stability(value=Stable) public InstanceProps.Builder publiclyAccessible(Boolean publiclyAccessible)
InstanceProps.getPubliclyAccessible()publiclyAccessible - Indicates whether the DB instance is an internet-facing instance.this@Stability(value=Stable) public InstanceProps.Builder securityGroups(List<? extends ISecurityGroup> securityGroups)
InstanceProps.getSecurityGroups()securityGroups - Security group.this@Stability(value=Stable) public InstanceProps.Builder vpcSubnets(SubnetSelection vpcSubnets)
InstanceProps.getVpcSubnets()vpcSubnets - Where to place the instances within the VPC.this@Stability(value=Stable) public InstanceProps build()
build in interface software.amazon.jsii.Builder<InstanceProps>InstancePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.