@Generated(value="software.amazon.awssdk:codegen") public final class UpdateGlobalTableSettingsRequest extends DynamoDbRequest implements ToCopyableBuilder<UpdateGlobalTableSettingsRequest.Builder,UpdateGlobalTableSettingsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateGlobalTableSettingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateGlobalTableSettingsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
BillingMode |
globalTableBillingMode()
The billing mode of the global table.
|
String |
globalTableBillingModeAsString()
The billing mode of the global table.
|
List<GlobalTableGlobalSecondaryIndexSettingsUpdate> |
globalTableGlobalSecondaryIndexSettingsUpdate()
Represents the settings of a global secondary index for a global table that will be modified.
|
String |
globalTableName()
The name of the global table
|
AutoScalingSettingsUpdate |
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate()
Auto scaling settings for managing provisioned write capacity for the global table.
|
Long |
globalTableProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException. |
boolean |
hasGlobalTableGlobalSecondaryIndexSettingsUpdate()
Returns true if the GlobalTableGlobalSecondaryIndexSettingsUpdate property was specified by the sender (it may be
empty), or false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasReplicaSettingsUpdate()
Returns true if the ReplicaSettingsUpdate property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<ReplicaSettingsUpdate> |
replicaSettingsUpdate()
Represents the settings for a global table in a Region that will be modified.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateGlobalTableSettingsRequest.Builder> |
serializableBuilderClass() |
UpdateGlobalTableSettingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String globalTableName()
The name of the global table
public BillingMode globalTableBillingMode()
The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table
defaults to PROVISIONED capacity billing mode.
PROVISIONED - We recommend using PROVISIONED for predictable workloads.
PROVISIONED sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads.
PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
If the service returns an enum value that is not available in the current SDK version,
globalTableBillingMode will return BillingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from globalTableBillingModeAsString().
GlobalTableBillingMode is not specified, the global
table defaults to PROVISIONED capacity billing mode.
PROVISIONED - We recommend using PROVISIONED for predictable workloads.
PROVISIONED sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable
workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
BillingModepublic String globalTableBillingModeAsString()
The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table
defaults to PROVISIONED capacity billing mode.
PROVISIONED - We recommend using PROVISIONED for predictable workloads.
PROVISIONED sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads.
PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
If the service returns an enum value that is not available in the current SDK version,
globalTableBillingMode will return BillingMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from globalTableBillingModeAsString().
GlobalTableBillingMode is not specified, the global
table defaults to PROVISIONED capacity billing mode.
PROVISIONED - We recommend using PROVISIONED for predictable workloads.
PROVISIONED sets the billing mode to Provisioned Mode.
PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable
workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.
BillingModepublic Long globalTableProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
ThrottlingException.public AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate()
Auto scaling settings for managing provisioned write capacity for the global table.
public boolean hasGlobalTableGlobalSecondaryIndexSettingsUpdate()
public List<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate()
Represents the settings of a global secondary index for a global table that will be modified.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGlobalTableGlobalSecondaryIndexSettingsUpdate() to see if a value was sent in this field.
public boolean hasReplicaSettingsUpdate()
public List<ReplicaSettingsUpdate> replicaSettingsUpdate()
Represents the settings for a global table in a Region that will be modified.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReplicaSettingsUpdate() to see if a value was sent in this field.
public UpdateGlobalTableSettingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateGlobalTableSettingsRequest.Builder,UpdateGlobalTableSettingsRequest>toBuilder in class DynamoDbRequestpublic static UpdateGlobalTableSettingsRequest.Builder builder()
public static Class<? extends UpdateGlobalTableSettingsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.