@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. |
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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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. |
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.
autoPause - A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless DB engine mode.public Boolean getAutoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB
engine mode.
serverless DB engine mode.public ScalingConfigurationInfo withAutoPause(Boolean autoPause)
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB
engine mode.
autoPause - A value that indicates whether automatic pause is allowed for the Aurora DB cluster in
serverless DB engine mode.public Boolean isAutoPause()
A value that indicates whether automatic pause is allowed for the Aurora DB cluster in serverless DB
engine mode.
serverless DB engine mode.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 String toString()
toString in class ObjectObject.toString()public ScalingConfigurationInfo clone()
Copyright © 2018. All rights reserved.