public static final class CfnDBCluster.ScalingConfigurationProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDBCluster.ScalingConfigurationProperty
CfnDBCluster.ScalingConfigurationProperty
CfnDBCluster.ScalingConfigurationProperty.Builder, CfnDBCluster.ScalingConfigurationProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getAutoPause()
A value that indicates whether to allow or disallow automatic pause for an Aurora DB cluster in `serverless` DB engine mode.
|
java.lang.Number |
getMaxCapacity()
The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode.
|
java.lang.Number |
getMinCapacity()
The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode.
|
java.lang.Number |
getSecondsUntilAutoPause()
The time, in seconds, before an Aurora DB cluster in `serverless` mode is paused.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.Object getAutoPause()
CfnDBCluster.ScalingConfigurationProperty
A DB cluster can be paused only when it's idle (it has no connections).
If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it.
getAutoPause
in interface CfnDBCluster.ScalingConfigurationProperty
public final java.lang.Number getMaxCapacity()
CfnDBCluster.ScalingConfigurationProperty
For Aurora MySQL, valid capacity values are 1
, 2
, 4
, 8
, 16
, 32
, 64
, 128
, and 256
.
For Aurora PostgreSQL, valid capacity values are 2
, 4
, 8
, 16
, 32
, 64
, 192
, and 384
.
The maximum capacity must be greater than or equal to the minimum capacity.
getMaxCapacity
in interface CfnDBCluster.ScalingConfigurationProperty
public final java.lang.Number getMinCapacity()
CfnDBCluster.ScalingConfigurationProperty
For Aurora MySQL, valid capacity values are 1
, 2
, 4
, 8
, 16
, 32
, 64
, 128
, and 256
.
For Aurora PostgreSQL, valid capacity values are 2
, 4
, 8
, 16
, 32
, 64
, 192
, and 384
.
The minimum capacity must be less than or equal to the maximum capacity.
getMinCapacity
in interface CfnDBCluster.ScalingConfigurationProperty
public final java.lang.Number getSecondsUntilAutoPause()
CfnDBCluster.ScalingConfigurationProperty
Specify a value between 300 and 86,400 seconds.
getSecondsUntilAutoPause
in interface CfnDBCluster.ScalingConfigurationProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()