@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateGlobalTableSettingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateGlobalTableSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateGlobalTableSettingsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGlobalTableBillingMode()
The billing mode of the global table.
|
List<GlobalTableGlobalSecondaryIndexSettingsUpdate> |
getGlobalTableGlobalSecondaryIndexSettingsUpdate()
Represents the settings of a global secondary index for a global table that will be modified.
|
String |
getGlobalTableName()
The name of the global table
|
AutoScalingSettingsUpdate |
getGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate()
Auto scaling settings for managing provisioned write capacity for the global table.
|
Long |
getGlobalTableProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException. |
List<ReplicaSettingsUpdate> |
getReplicaSettingsUpdate()
Represents the settings for a global table in a Region that will be modified.
|
int |
hashCode() |
void |
setGlobalTableBillingMode(String globalTableBillingMode)
The billing mode of the global table.
|
void |
setGlobalTableGlobalSecondaryIndexSettingsUpdate(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
|
void |
setGlobalTableName(String globalTableName)
The name of the global table
|
void |
setGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing provisioned write capacity for the global table.
|
void |
setGlobalTableProvisionedWriteCapacityUnits(Long globalTableProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException. |
void |
setReplicaSettingsUpdate(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.
|
String |
toString()
Returns a string representation of this object.
|
UpdateGlobalTableSettingsRequest |
withGlobalTableBillingMode(BillingMode globalTableBillingMode)
The billing mode of the global table.
|
UpdateGlobalTableSettingsRequest |
withGlobalTableBillingMode(String globalTableBillingMode)
The billing mode of the global table.
|
UpdateGlobalTableSettingsRequest |
withGlobalTableGlobalSecondaryIndexSettingsUpdate(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
|
UpdateGlobalTableSettingsRequest |
withGlobalTableGlobalSecondaryIndexSettingsUpdate(GlobalTableGlobalSecondaryIndexSettingsUpdate... globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
|
UpdateGlobalTableSettingsRequest |
withGlobalTableName(String globalTableName)
The name of the global table
|
UpdateGlobalTableSettingsRequest |
withGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing provisioned write capacity for the global table.
|
UpdateGlobalTableSettingsRequest |
withGlobalTableProvisionedWriteCapacityUnits(Long globalTableProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException. |
UpdateGlobalTableSettingsRequest |
withReplicaSettingsUpdate(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.
|
UpdateGlobalTableSettingsRequest |
withReplicaSettingsUpdate(ReplicaSettingsUpdate... replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setGlobalTableName(String globalTableName)
The name of the global table
globalTableName
- The name of the global tablepublic String getGlobalTableName()
The name of the global table
public UpdateGlobalTableSettingsRequest withGlobalTableName(String globalTableName)
The name of the global table
globalTableName
- The name of the global tablepublic void setGlobalTableBillingMode(String 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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable workloads.
PAY_PER_REQUEST
sets the billing mode to On-demand
capacity mode.
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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable
workloads. PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
BillingMode
public String getGlobalTableBillingMode()
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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable workloads.
PAY_PER_REQUEST
sets the billing mode to On-demand
capacity mode.
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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable
workloads. PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
BillingMode
public UpdateGlobalTableSettingsRequest withGlobalTableBillingMode(String 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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable workloads.
PAY_PER_REQUEST
sets the billing mode to On-demand
capacity mode.
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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable
workloads. PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
BillingMode
public UpdateGlobalTableSettingsRequest withGlobalTableBillingMode(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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable workloads.
PAY_PER_REQUEST
sets the billing mode to On-demand
capacity mode.
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 capacity mode.
PAY_PER_REQUEST
- We recommend using PAY_PER_REQUEST
for unpredictable
workloads. PAY_PER_REQUEST
sets the billing mode to On-demand capacity mode.
BillingMode
public void setGlobalTableProvisionedWriteCapacityUnits(Long globalTableProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
globalTableProvisionedWriteCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.
public Long getGlobalTableProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
ThrottlingException.
public UpdateGlobalTableSettingsRequest withGlobalTableProvisionedWriteCapacityUnits(Long globalTableProvisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
globalTableProvisionedWriteCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.
public void setGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing provisioned write capacity for the global table.
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
- Auto scaling settings for managing provisioned write capacity for the global table.public AutoScalingSettingsUpdate getGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate()
Auto scaling settings for managing provisioned write capacity for the global table.
public UpdateGlobalTableSettingsRequest withGlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing provisioned write capacity for the global table.
globalTableProvisionedWriteCapacityAutoScalingSettingsUpdate
- Auto scaling settings for managing provisioned write capacity for the global table.public List<GlobalTableGlobalSecondaryIndexSettingsUpdate> getGlobalTableGlobalSecondaryIndexSettingsUpdate()
Represents the settings of a global secondary index for a global table that will be modified.
public void setGlobalTableGlobalSecondaryIndexSettingsUpdate(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
globalTableGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.public UpdateGlobalTableSettingsRequest withGlobalTableGlobalSecondaryIndexSettingsUpdate(GlobalTableGlobalSecondaryIndexSettingsUpdate... globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
NOTE: This method appends the values to the existing list (if any). Use
setGlobalTableGlobalSecondaryIndexSettingsUpdate(java.util.Collection)
or
withGlobalTableGlobalSecondaryIndexSettingsUpdate(java.util.Collection)
if you want to override the
existing values.
globalTableGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.public UpdateGlobalTableSettingsRequest withGlobalTableGlobalSecondaryIndexSettingsUpdate(Collection<GlobalTableGlobalSecondaryIndexSettingsUpdate> globalTableGlobalSecondaryIndexSettingsUpdate)
Represents the settings of a global secondary index for a global table that will be modified.
globalTableGlobalSecondaryIndexSettingsUpdate
- Represents the settings of a global secondary index for a global table that will be modified.public List<ReplicaSettingsUpdate> getReplicaSettingsUpdate()
Represents the settings for a global table in a Region that will be modified.
public void setReplicaSettingsUpdate(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.
replicaSettingsUpdate
- Represents the settings for a global table in a Region that will be modified.public UpdateGlobalTableSettingsRequest withReplicaSettingsUpdate(ReplicaSettingsUpdate... replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.
NOTE: This method appends the values to the existing list (if any). Use
setReplicaSettingsUpdate(java.util.Collection)
or
withReplicaSettingsUpdate(java.util.Collection)
if you want to override the existing values.
replicaSettingsUpdate
- Represents the settings for a global table in a Region that will be modified.public UpdateGlobalTableSettingsRequest withReplicaSettingsUpdate(Collection<ReplicaSettingsUpdate> replicaSettingsUpdate)
Represents the settings for a global table in a Region that will be modified.
replicaSettingsUpdate
- Represents the settings for a global table in a Region that will be modified.public String toString()
toString
in class Object
Object.toString()
public UpdateGlobalTableSettingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()