@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScalingConfigurationInfo extends Object implements Serializable, Cloneable
Shows the scaling configuration for an Aurora DB cluster in serverless
DB engine mode.
For more information, see Using Amazon Aurora Serverless in the Amazon Aurora User Guide.
Constructor and Description |
---|
ScalingConfigurationInfo() |
Modifier and Type | Method and Description |
---|---|
ScalingConfigurationInfo |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAutoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless DB
engine mode. |
Integer |
getMaxCapacity()
The maximum capacity for an Aurora DB cluster in
serverless DB engine mode. |
Integer |
getMinCapacity()
The maximum capacity for the Aurora DB cluster in
serverless DB engine mode. |
Integer |
getSecondsUntilAutoPause()
The remaining amount of time, in seconds, before the Aurora DB cluster in
serverless mode is paused. |
String |
getTimeoutAction()
The timeout action of a call to
ModifyCurrentDBClusterCapacity , either
ForceApplyCapacityChange or RollbackCapacityChange . |
int |
hashCode() |
Boolean |
isAutoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless DB
engine mode. |
void |
setAutoPause(Boolean autoPause)
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless DB
engine mode. |
void |
setMaxCapacity(Integer maxCapacity)
The maximum capacity for an Aurora DB cluster in
serverless DB engine mode. |
void |
setMinCapacity(Integer minCapacity)
The maximum capacity for the Aurora DB cluster in
serverless DB engine mode. |
void |
setSecondsUntilAutoPause(Integer secondsUntilAutoPause)
The remaining amount of time, in seconds, before the Aurora DB cluster in
serverless mode is paused. |
void |
setTimeoutAction(String timeoutAction)
The timeout action of a call to
ModifyCurrentDBClusterCapacity , either
ForceApplyCapacityChange or RollbackCapacityChange . |
String |
toString()
Returns a string representation of this object.
|
ScalingConfigurationInfo |
withAutoPause(Boolean autoPause)
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless DB
engine mode. |
ScalingConfigurationInfo |
withMaxCapacity(Integer maxCapacity)
The maximum capacity for an Aurora DB cluster in
serverless DB engine mode. |
ScalingConfigurationInfo |
withMinCapacity(Integer minCapacity)
The maximum capacity for the Aurora DB cluster in
serverless DB engine mode. |
ScalingConfigurationInfo |
withSecondsUntilAutoPause(Integer secondsUntilAutoPause)
The remaining amount of time, in seconds, before the Aurora DB cluster in
serverless mode is paused. |
ScalingConfigurationInfo |
withTimeoutAction(String timeoutAction)
The timeout action of a call to
ModifyCurrentDBClusterCapacity , either
ForceApplyCapacityChange or RollbackCapacityChange . |
public void setMinCapacity(Integer minCapacity)
The maximum capacity for the Aurora DB cluster in serverless
DB engine mode.
minCapacity
- The maximum capacity for the Aurora DB cluster in serverless
DB engine mode.public Integer getMinCapacity()
The maximum capacity for the Aurora DB cluster in serverless
DB engine mode.
serverless
DB engine mode.public ScalingConfigurationInfo withMinCapacity(Integer minCapacity)
The maximum capacity for the Aurora DB cluster in serverless
DB engine mode.
minCapacity
- The maximum capacity for the Aurora DB cluster in serverless
DB engine mode.public void setMaxCapacity(Integer maxCapacity)
The maximum capacity for an Aurora DB cluster in serverless
DB engine mode.
maxCapacity
- The maximum capacity for an Aurora DB cluster in serverless
DB engine mode.public Integer getMaxCapacity()
The maximum capacity for an Aurora DB cluster in serverless
DB engine mode.
serverless
DB engine mode.public ScalingConfigurationInfo withMaxCapacity(Integer maxCapacity)
The maximum capacity for an Aurora DB cluster in serverless
DB engine mode.
maxCapacity
- The maximum capacity for an Aurora DB cluster in serverless
DB engine mode.public void setAutoPause(Boolean autoPause)
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless
DB
engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
autoPause
- A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless
DB engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
public Boolean getAutoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless
DB
engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
serverless
DB engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
public ScalingConfigurationInfo withAutoPause(Boolean autoPause)
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless
DB
engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
autoPause
- A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless
DB engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
public Boolean isAutoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless
DB
engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
serverless
DB engine mode.
When the value is set to false for an Aurora Serverless DB cluster, the DB cluster automatically resumes.
public void setSecondsUntilAutoPause(Integer secondsUntilAutoPause)
The remaining amount of time, in seconds, before the Aurora DB cluster in serverless
mode is paused.
A DB cluster can be paused only when it's idle (it has no connections).
secondsUntilAutoPause
- The remaining amount of time, in seconds, before the Aurora DB cluster in serverless
mode is
paused. A DB cluster can be paused only when it's idle (it has no connections).public Integer getSecondsUntilAutoPause()
The remaining amount of time, in seconds, before the Aurora DB cluster in serverless
mode is paused.
A DB cluster can be paused only when it's idle (it has no connections).
serverless
mode is
paused. A DB cluster can be paused only when it's idle (it has no connections).public ScalingConfigurationInfo withSecondsUntilAutoPause(Integer secondsUntilAutoPause)
The remaining amount of time, in seconds, before the Aurora DB cluster in serverless
mode is paused.
A DB cluster can be paused only when it's idle (it has no connections).
secondsUntilAutoPause
- The remaining amount of time, in seconds, before the Aurora DB cluster in serverless
mode is
paused. A DB cluster can be paused only when it's idle (it has no connections).public void setTimeoutAction(String timeoutAction)
The timeout action of a call to ModifyCurrentDBClusterCapacity
, either
ForceApplyCapacityChange
or RollbackCapacityChange
.
timeoutAction
- The timeout action of a call to ModifyCurrentDBClusterCapacity
, either
ForceApplyCapacityChange
or RollbackCapacityChange
.public String getTimeoutAction()
The timeout action of a call to ModifyCurrentDBClusterCapacity
, either
ForceApplyCapacityChange
or RollbackCapacityChange
.
ModifyCurrentDBClusterCapacity
, either
ForceApplyCapacityChange
or RollbackCapacityChange
.public ScalingConfigurationInfo withTimeoutAction(String timeoutAction)
The timeout action of a call to ModifyCurrentDBClusterCapacity
, either
ForceApplyCapacityChange
or RollbackCapacityChange
.
timeoutAction
- The timeout action of a call to ModifyCurrentDBClusterCapacity
, either
ForceApplyCapacityChange
or RollbackCapacityChange
.public String toString()
toString
in class Object
Object.toString()
public ScalingConfigurationInfo clone()