public class ReplicaGlobalSecondaryIndexSettingsUpdate
extends java.lang.Object
implements java.io.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(java.lang.Object obj) | 
| java.lang.String | getIndexName()
 The name of the global secondary index. | 
| AutoScalingSettingsUpdate | getProvisionedReadCapacityAutoScalingSettingsUpdate()
 Autoscaling settings for managing a global secondary index replica's read
 capacity units. | 
| java.lang.Long | getProvisionedReadCapacityUnits()
 The maximum number of strongly consistent reads consumed per second
 before DynamoDB returns a  ThrottlingException. | 
| int | hashCode() | 
| void | setIndexName(java.lang.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(java.lang.Long provisionedReadCapacityUnits)
 The maximum number of strongly consistent reads consumed per second
 before DynamoDB returns a  ThrottlingException. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ReplicaGlobalSecondaryIndexSettingsUpdate | withIndexName(java.lang.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(java.lang.Long provisionedReadCapacityUnits)
 The maximum number of strongly consistent reads consumed per second
 before DynamoDB returns a  ThrottlingException. | 
public ReplicaGlobalSecondaryIndexSettingsUpdate()
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.