/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.rds.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ModifyCurrentDBClusterCapacityRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive. *

*

* Constraints: *

* */ private String dBClusterIdentifier; /** *

* The DB cluster capacity. *

*

* When you change the capacity of a paused Aurora Serverless v1 DB cluster, it automatically resumes. *

*

* Constraints: *

* */ private Integer capacity; /** *

* 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. *

*/ private Integer secondsBeforeTimeout; /** *

* 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. *

*/ private String timeoutAction; /** *

* The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive. *

*

* Constraints: *

* * * @param dBClusterIdentifier * The DB cluster identifier for the cluster being modified. This parameter isn't case-sensitive.

*

* Constraints: *

*