Class ModifyCurrentDbClusterCapacityRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rds.model.RdsRequest
-
- software.amazon.awssdk.services.rds.model.ModifyCurrentDbClusterCapacityRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
@Generated("software.amazon.awssdk:codegen") public final class ModifyCurrentDbClusterCapacityRequest extends RdsRequest implements ToCopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ModifyCurrentDbClusterCapacityRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
Integer
secondsBeforeTimeout()
The amount of time, in seconds, that Aurora Serverless v1 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, eitherForceApplyCapacityChange
orRollbackCapacityChange
.ModifyCurrentDbClusterCapacityRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dbClusterIdentifier
public final 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.
- Returns:
- 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.
-
-
-
capacity
public final Integer capacity()
The DB cluster capacity.
When you change the capacity of a paused Aurora Serverless v1 DB cluster, it automatically resumes.
Constraints:
-
For Aurora MySQL, valid capacity values are
1
,2
,4
,8
,16
,32
,64
,128
, and256
. -
For Aurora PostgreSQL, valid capacity values are
2
,4
,8
,16
,32
,64
,192
, and384
.
- Returns:
- The DB cluster capacity.
When you change the capacity of a paused Aurora Serverless v1 DB cluster, it automatically resumes.
Constraints:
-
For Aurora MySQL, valid capacity values are
1
,2
,4
,8
,16
,32
,64
,128
, and256
. -
For Aurora PostgreSQL, valid capacity values are
2
,4
,8
,16
,32
,64
,192
, and384
.
-
-
-
secondsBeforeTimeout
public final Integer secondsBeforeTimeout()
The amount of time, in seconds, that Aurora Serverless v1 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.
- Returns:
- The amount of time, in seconds, that Aurora Serverless v1 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.
-
timeoutAction
public final String timeoutAction()
The action to take when the timeout is reached, either
ForceApplyCapacityChange
orRollbackCapacityChange
.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.- Returns:
- The action to take when the timeout is reached, either
ForceApplyCapacityChange
orRollbackCapacityChange
.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.
-
toBuilder
public ModifyCurrentDbClusterCapacityRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ModifyCurrentDbClusterCapacityRequest.Builder,ModifyCurrentDbClusterCapacityRequest>
- Specified by:
toBuilder
in classRdsRequest
-
builder
public static ModifyCurrentDbClusterCapacityRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModifyCurrentDbClusterCapacityRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-