@Generated(value="software.amazon.awssdk:codegen") public final class ModifyCurrentDbClusterCapacityRequest extends RdsRequest implements ToCopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
ModifyCurrentDbClusterCapacityRequest.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static ModifyCurrentDbClusterCapacityRequest.Builder | 
builder()  | 
Integer | 
capacity()
 The DB cluster capacity. 
 | 
String | 
dbClusterIdentifier()
 The DB cluster identifier for the cluster being modified. 
 | 
boolean | 
equals(Object obj)  | 
<T> Optional<T> | 
getValueForField(String fieldName,
                Class<T> clazz)
Used to retrieve the value of a field from any class that extends  
SdkRequest. | 
int | 
hashCode()  | 
List<SdkField<?>> | 
sdkFields()  | 
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. 
 | 
static Class<? extends ModifyCurrentDbClusterCapacityRequest.Builder> | 
serializableBuilderClass()  | 
String | 
timeoutAction()
 The action to take when the timeout is reached, either  
ForceApplyCapacityChange or
 RollbackCapacityChange. | 
ModifyCurrentDbClusterCapacityRequest.Builder | 
toBuilder()
Take this object and create a builder that contains all of the current property values of this object. 
 | 
String | 
toString()  | 
overrideConfigurationcopypublic String dbClusterIdentifier()
The DB cluster identifier for the cluster being modified. This parameter is not case-sensitive.
Constraints:
Must match the identifier of an existing DB cluster.
Constraints:
Must match the identifier of an existing DB cluster.
public Integer capacity()
The DB cluster capacity.
Constraints:
 Value must be 2, 4, 8, 16, 32, 64,
 128, or 256.
 
Constraints:
         Value must be 2, 4, 8, 16, 32,
         64, 128, or 256.
         
public 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.
Value must be from 10 through 600.
Value must be from 10 through 600.
public 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 is not 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 is not found in the
         timeout period.
public ModifyCurrentDbClusterCapacityRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>toBuilder in class RdsRequestpublic static ModifyCurrentDbClusterCapacityRequest.Builder builder()
public static Class<? extends ModifyCurrentDbClusterCapacityRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequestSdkRequest. The field name
 specified should match the member name from the corresponding service-2.json model specified in the
 codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
 If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class) method will
 again be available.getValueForField in class SdkRequestfieldName - The name of the member to be retrieved.clazz - The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.