public class ReplicaGlobalSecondaryIndexSettingsUpdate extends Object implements Serializable
Represents the settings of a global secondary index for a global table that will be modified.
| Constructor and Description |
|---|
ReplicaGlobalSecondaryIndexSettingsUpdate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the global secondary index.
|
AutoScalingSettingsUpdate |
getProvisionedReadCapacityAutoScalingSettingsUpdate()
Autoscaling settings for managing a global secondary index replica's read
capacity units.
|
Long |
getProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
int |
hashCode() |
void |
setIndexName(String indexName)
The name of the global secondary index.
|
void |
setProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global secondary index replica's read
capacity units.
|
void |
setProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicaGlobalSecondaryIndexSettingsUpdate |
withIndexName(String indexName)
The name of the global secondary index.
|
ReplicaGlobalSecondaryIndexSettingsUpdate |
withProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global secondary index replica's read
capacity units.
|
ReplicaGlobalSecondaryIndexSettingsUpdate |
withProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
public ReplicaGlobalSecondaryIndexSettingsUpdate()
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 ReplicaGlobalSecondaryIndexSettingsUpdate 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 getProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a ThrottlingException.
Constraints:
Range: 1 -
The maximum number of strongly consistent reads consumed per
second before DynamoDB returns a ThrottlingException
.
public void setProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a ThrottlingException.
Constraints:
Range: 1 -
provisionedReadCapacityUnits -
The maximum number of strongly consistent reads consumed per
second before DynamoDB returns a
ThrottlingException.
public ReplicaGlobalSecondaryIndexSettingsUpdate withProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads 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 -
provisionedReadCapacityUnits -
The maximum number of strongly consistent reads consumed per
second before DynamoDB returns a
ThrottlingException.
public AutoScalingSettingsUpdate getProvisionedReadCapacityAutoScalingSettingsUpdate()
Autoscaling settings for managing a global secondary index replica's read capacity units.
Autoscaling settings for managing a global secondary index replica's read capacity units.
public void setProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global secondary index replica's read capacity units.
provisionedReadCapacityAutoScalingSettingsUpdate - Autoscaling settings for managing a global secondary index replica's read capacity units.
public ReplicaGlobalSecondaryIndexSettingsUpdate withProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Autoscaling settings for managing a global secondary index replica's read capacity units.
Returns a reference to this object so that method calls can be chained together.
provisionedReadCapacityAutoScalingSettingsUpdate - Autoscaling settings for managing a global secondary index replica's read capacity units.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.