public class GlobalTableGlobalSecondaryIndexSettingsUpdate extends Object implements Serializable
Represents the settings of a global secondary index for a global table that will be modified.
| Constructor and Description |
|---|
GlobalTableGlobalSecondaryIndexSettingsUpdate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the global secondary index.
|
AutoScalingSettingsUpdate |
getProvisionedWriteCapacityAutoScalingSettingsUpdate()
AutoScaling settings for managing a global secondary index's write
capacity units.
|
Long |
getProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
int |
hashCode() |
void |
setIndexName(String indexName)
The name of the global secondary index.
|
void |
setProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingSettingsUpdate)
AutoScaling settings for managing a global secondary index's write
capacity units.
|
void |
setProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GlobalTableGlobalSecondaryIndexSettingsUpdate |
withIndexName(String indexName)
The name of the global secondary index.
|
GlobalTableGlobalSecondaryIndexSettingsUpdate |
withProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingSettingsUpdate)
AutoScaling settings for managing a global secondary index's write
capacity units.
|
GlobalTableGlobalSecondaryIndexSettingsUpdate |
withProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
public GlobalTableGlobalSecondaryIndexSettingsUpdate()
public String getIndexName()
The name of the global secondary index. The name must be unique among all other indexes on this table.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
The name of the global secondary index. The name must be unique among all other indexes on this table.
public void setIndexName(String indexName)
The name of the global secondary index. The name must be unique among all other indexes on this table.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
indexName - The name of the global secondary index. The name must be unique among all other indexes on this table.
public GlobalTableGlobalSecondaryIndexSettingsUpdate withIndexName(String indexName)
The name of the global secondary index. The name must be unique among all other indexes on this table.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 255
Pattern: [a-zA-Z0-9_.-]+
indexName - The name of the global secondary index. The name must be unique among all other indexes on this table.
public Long getProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns
a ThrottlingException.
Constraints:
Range: 1 -
The maximum number of writes consumed per second before DynamoDB
returns a ThrottlingException.
public void setProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a ThrottlingException.
Constraints:
Range: 1 -
provisionedWriteCapacityUnits -
The maximum number of writes consumed per second before
DynamoDB returns a ThrottlingException.
public GlobalTableGlobalSecondaryIndexSettingsUpdate withProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a ThrottlingException.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
provisionedWriteCapacityUnits -
The maximum number of writes consumed per second before
DynamoDB returns a ThrottlingException.
public AutoScalingSettingsUpdate getProvisionedWriteCapacityAutoScalingSettingsUpdate()
AutoScaling settings for managing a global secondary index's write capacity units.
AutoScaling settings for managing a global secondary index's write capacity units.
public void setProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingSettingsUpdate)
AutoScaling settings for managing a global secondary index's write capacity units.
provisionedWriteCapacityAutoScalingSettingsUpdate - AutoScaling settings for managing a global secondary index's write capacity units.
public GlobalTableGlobalSecondaryIndexSettingsUpdate withProvisionedWriteCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedWriteCapacityAutoScalingSettingsUpdate)
AutoScaling settings for managing a global secondary index's write capacity units.
Returns a reference to this object so that method calls can be chained together.
provisionedWriteCapacityAutoScalingSettingsUpdate - AutoScaling settings for managing a global secondary index's write capacity units.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.