@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReplicaGlobalSecondaryIndexSettingsDescription extends Object implements Serializable, Cloneable, StructuredPojo
Represents the properties of a global secondary index.
Constructor and Description |
---|
ReplicaGlobalSecondaryIndexSettingsDescription() |
Modifier and Type | Method and Description |
---|---|
ReplicaGlobalSecondaryIndexSettingsDescription |
clone() |
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the global secondary index.
|
String |
getIndexStatus()
The current status of the global secondary index:
|
AutoScalingSettingsDescription |
getProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for 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 . |
AutoScalingSettingsDescription |
getProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global secondary index replica's write capacity units.
|
Long |
getProvisionedWriteCapacityUnits()
The maximum number of writes 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 |
setIndexStatus(String indexStatus)
The current status of the global secondary index:
|
void |
setProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings)
Autoscaling settings for 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 . |
void |
setProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings)
AutoScaling settings for a global secondary index replica'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.
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withIndexName(String indexName)
The name of the global secondary index.
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withIndexStatus(IndexStatus indexStatus)
The current status of the global secondary index:
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withIndexStatus(String indexStatus)
The current status of the global secondary index:
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings)
Autoscaling settings for a global secondary index replica's read capacity units.
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
ReplicaGlobalSecondaryIndexSettingsDescription |
withProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings)
AutoScaling settings for a global secondary index replica's write capacity units.
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
public ReplicaGlobalSecondaryIndexSettingsDescription()
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 ReplicaGlobalSecondaryIndexSettingsDescription 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 setIndexStatus(String indexStatus)
The current status of the global secondary index:
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
indexStatus
- The current status of the global secondary index:
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
IndexStatus
public String getIndexStatus()
The current status of the global secondary index:
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
IndexStatus
public ReplicaGlobalSecondaryIndexSettingsDescription withIndexStatus(String indexStatus)
The current status of the global secondary index:
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
indexStatus
- The current status of the global secondary index:
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
IndexStatus
public ReplicaGlobalSecondaryIndexSettingsDescription withIndexStatus(IndexStatus indexStatus)
The current status of the global secondary index:
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
indexStatus
- The current status of the global secondary index:
CREATING
- The global secondary index is being created.
UPDATING
- The global secondary index is being updated.
DELETING
- The global secondary index is being deleted.
ACTIVE
- The global secondary index is ready for use.
IndexStatus
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 ReplicaGlobalSecondaryIndexSettingsDescription 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 setProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings)
Autoscaling settings for a global secondary index replica's read capacity units.
provisionedReadCapacityAutoScalingSettings
- Autoscaling settings for a global secondary index replica's read capacity units.public AutoScalingSettingsDescription getProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for a global secondary index replica's read capacity units.
public ReplicaGlobalSecondaryIndexSettingsDescription withProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings)
Autoscaling settings for a global secondary index replica's read capacity units.
provisionedReadCapacityAutoScalingSettings
- Autoscaling settings for a global secondary index replica's read capacity units.public void setProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
provisionedWriteCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
.public Long getProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
ThrottlingException
.public ReplicaGlobalSecondaryIndexSettingsDescription withProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
provisionedWriteCapacityUnits
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException
.public void setProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings)
AutoScaling settings for a global secondary index replica's write capacity units.
provisionedWriteCapacityAutoScalingSettings
- AutoScaling settings for a global secondary index replica's write capacity units.public AutoScalingSettingsDescription getProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global secondary index replica's write capacity units.
public ReplicaGlobalSecondaryIndexSettingsDescription withProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings)
AutoScaling settings for a global secondary index replica's write capacity units.
provisionedWriteCapacityAutoScalingSettings
- AutoScaling settings for a global secondary index replica's write capacity units.public String toString()
toString
in class Object
Object.toString()
public ReplicaGlobalSecondaryIndexSettingsDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2018. All rights reserved.