@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyCurrentDBClusterCapacityRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| ModifyCurrentDBClusterCapacityRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ModifyCurrentDBClusterCapacityRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| Integer | getCapacity()
 The DB cluster capacity. | 
| String | getDBClusterIdentifier()
 The DB cluster identifier for the cluster being modified. | 
| Integer | getSecondsBeforeTimeout()
 The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling
 before enforcing the timeout action. | 
| String | getTimeoutAction()
 The action to take when the timeout is reached, either  ForceApplyCapacityChangeorRollbackCapacityChange. | 
| int | hashCode() | 
| void | setCapacity(Integer capacity)
 The DB cluster capacity. | 
| void | setDBClusterIdentifier(String dBClusterIdentifier)
 The DB cluster identifier for the cluster being modified. | 
| void | setSecondsBeforeTimeout(Integer secondsBeforeTimeout)
 The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling
 before enforcing the timeout action. | 
| void | setTimeoutAction(String timeoutAction)
 The action to take when the timeout is reached, either  ForceApplyCapacityChangeorRollbackCapacityChange. | 
| String | toString()Returns a string representation of this object. | 
| ModifyCurrentDBClusterCapacityRequest | withCapacity(Integer capacity)
 The DB cluster capacity. | 
| ModifyCurrentDBClusterCapacityRequest | withDBClusterIdentifier(String dBClusterIdentifier)
 The DB cluster identifier for the cluster being modified. | 
| ModifyCurrentDBClusterCapacityRequest | withSecondsBeforeTimeout(Integer secondsBeforeTimeout)
 The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling
 before enforcing the timeout action. | 
| ModifyCurrentDBClusterCapacityRequest | withTimeoutAction(String timeoutAction)
 The action to take when the timeout is reached, either  ForceApplyCapacityChangeorRollbackCapacityChange. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic ModifyCurrentDBClusterCapacityRequest()
public void setDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DB cluster.
dBClusterIdentifier - The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.
        Constraints:
Must match the identifier of an existing DB cluster.
public String getDBClusterIdentifier()
The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DB cluster.
Constraints:
Must match the identifier of an existing DB cluster.
public ModifyCurrentDBClusterCapacityRequest withDBClusterIdentifier(String dBClusterIdentifier)
The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.
Constraints:
Must match the identifier of an existing DB cluster.
dBClusterIdentifier - The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.
        Constraints:
Must match the identifier of an existing DB cluster.
public void setCapacity(Integer capacity)
The DB cluster capacity.
When you change the capacity of a paused Aurora Serverless DB cluster, it automatically resumes.
Constraints:
 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.
 
capacity - The DB cluster capacity.
        When you change the capacity of a paused Aurora Serverless DB cluster, it automatically resumes.
Constraints:
        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.
        
public Integer getCapacity()
The DB cluster capacity.
When you change the capacity of a paused Aurora Serverless DB cluster, it automatically resumes.
Constraints:
 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.
 
When you change the capacity of a paused Aurora Serverless DB cluster, it automatically resumes.
Constraints:
         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.
         
public ModifyCurrentDBClusterCapacityRequest withCapacity(Integer capacity)
The DB cluster capacity.
When you change the capacity of a paused Aurora Serverless DB cluster, it automatically resumes.
Constraints:
 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.
 
capacity - The DB cluster capacity.
        When you change the capacity of a paused Aurora Serverless DB cluster, it automatically resumes.
Constraints:
        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.
        
public void setSecondsBeforeTimeout(Integer secondsBeforeTimeout)
The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
Specify a value between 10 and 600 seconds.
secondsBeforeTimeout - The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless
        scaling before enforcing the timeout action. The default is 300.
        Specify a value between 10 and 600 seconds.
public Integer getSecondsBeforeTimeout()
The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
Specify a value between 10 and 600 seconds.
Specify a value between 10 and 600 seconds.
public ModifyCurrentDBClusterCapacityRequest withSecondsBeforeTimeout(Integer secondsBeforeTimeout)
The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless scaling before enforcing the timeout action. The default is 300.
Specify a value between 10 and 600 seconds.
secondsBeforeTimeout - The amount of time, in seconds, that Aurora Serverless tries to find a scaling point to perform seamless
        scaling before enforcing the timeout action. The default is 300.
        Specify a value between 10 and 600 seconds.
public void setTimeoutAction(String timeoutAction)
 The action to take when the timeout is reached, either ForceApplyCapacityChange or
 RollbackCapacityChange.
 
 ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.
 
 RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout
 period.
 
timeoutAction - The action to take when the timeout is reached, either ForceApplyCapacityChange or
        RollbackCapacityChange.
        
        ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as
        possible.
        
        RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the
        timeout period.
public String getTimeoutAction()
 The action to take when the timeout is reached, either ForceApplyCapacityChange or
 RollbackCapacityChange.
 
 ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.
 
 RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout
 period.
 
ForceApplyCapacityChange or
         RollbackCapacityChange.
         
         ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as
         possible.
         
         RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the
         timeout period.
public ModifyCurrentDBClusterCapacityRequest withTimeoutAction(String timeoutAction)
 The action to take when the timeout is reached, either ForceApplyCapacityChange or
 RollbackCapacityChange.
 
 ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as possible.
 
 RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the timeout
 period.
 
timeoutAction - The action to take when the timeout is reached, either ForceApplyCapacityChange or
        RollbackCapacityChange.
        
        ForceApplyCapacityChange, the default, sets the capacity to the specified value as soon as
        possible.
        
        RollbackCapacityChange ignores the capacity change if a scaling point isn't found in the
        timeout period.
public String toString()
toString in class ObjectObject.toString()public ModifyCurrentDBClusterCapacityRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()