/* * 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.dynamodbv2.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 UpdateGlobalTableSettingsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The name of the global table *

*/ private String globalTableName; /** *

* The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table * defaults to PROVISIONED capacity billing mode. *

* */ private String globalTableBillingMode; /** *

* The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. *

*/ private Long globalTableProvisionedWriteCapacityUnits; /** *

* Auto scaling settings for managing provisioned write capacity for the global table. *

*/ private AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate; /** *

* Represents the settings of a global secondary index for a global table that will be modified. *

*/ private java.util.List globalTableGlobalSecondaryIndexSettingsUpdate; /** *

* Represents the settings for a global table in a Region that will be modified. *

*/ private java.util.List replicaSettingsUpdate; /** *

* The name of the global table *

* * @param globalTableName * The name of the global table */ public void setGlobalTableName(String globalTableName) { this.globalTableName = globalTableName; } /** *

* The name of the global table *

* * @return The name of the global table */ public String getGlobalTableName() { return this.globalTableName; } /** *

* The name of the global table *

* * @param globalTableName * The name of the global table * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateGlobalTableSettingsRequest withGlobalTableName(String globalTableName) { setGlobalTableName(globalTableName); return this; } /** *

* The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table * defaults to PROVISIONED capacity billing mode. *

* * * @param globalTableBillingMode * The billing mode of the global table. If GlobalTableBillingMode is not specified, the global * table defaults to PROVISIONED capacity billing mode.

*