@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaGlobalSecondaryIndexSettingsUpdate extends Object implements Serializable, Cloneable, StructuredPojo
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 |
---|---|
ReplicaGlobalSecondaryIndexSettingsUpdate |
clone() |
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the global secondary index.
|
AutoScalingSettingsUpdate |
getProvisionedReadCapacityAutoScalingSettingsUpdate()
Auto scaling 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 |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setIndexName(String indexName)
The name of the global secondary index.
|
void |
setProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Auto scaling 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.
|
ReplicaGlobalSecondaryIndexSettingsUpdate |
withIndexName(String indexName)
The name of the global secondary index.
|
ReplicaGlobalSecondaryIndexSettingsUpdate |
withProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Auto scaling 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 void setIndexName(String indexName)
The name of the global secondary index. The name must be unique among all other indexes on this table.
indexName
- The name of the global secondary index. The name must be unique among all other indexes on this table.public String getIndexName()
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.
indexName
- The name of the global secondary index. The name must be unique among all other indexes on this table.public void setProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.
provisionedReadCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.public Long getProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.
ThrottlingException
.public ReplicaGlobalSecondaryIndexSettingsUpdate withProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.
provisionedReadCapacityUnits
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.public void setProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing a global secondary index replica's read capacity units.
provisionedReadCapacityAutoScalingSettingsUpdate
- Auto scaling settings for managing a global secondary index replica's read capacity units.public AutoScalingSettingsUpdate getProvisionedReadCapacityAutoScalingSettingsUpdate()
Auto scaling settings for managing a global secondary index replica's read capacity units.
public ReplicaGlobalSecondaryIndexSettingsUpdate withProvisionedReadCapacityAutoScalingSettingsUpdate(AutoScalingSettingsUpdate provisionedReadCapacityAutoScalingSettingsUpdate)
Auto scaling settings for managing a global secondary index replica's read capacity units.
provisionedReadCapacityAutoScalingSettingsUpdate
- Auto scaling settings for managing a global secondary index replica's read capacity units.public String toString()
toString
in class Object
Object.toString()
public ReplicaGlobalSecondaryIndexSettingsUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.