public class ReplicaGlobalSecondaryIndexSettingsDescription
extends java.lang.Object
implements java.io.Serializable
Represents the properties of a global secondary index.
Constructor and Description |
---|
ReplicaGlobalSecondaryIndexSettingsDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIndexName()
The name of the global secondary index.
|
java.lang.String |
getIndexStatus()
The current status of the global secondary index:
|
AutoScalingSettingsDescription |
getProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for 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 . |
AutoScalingSettingsDescription |
getProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global secondary index replica's write
capacity units.
|
java.lang.Long |
getProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException . |
int |
hashCode() |
void |
setIndexName(java.lang.String indexName)
The name of the global secondary index.
|
void |
setIndexStatus(IndexStatus indexStatus)
The current status of the global secondary index:
|
void |
setIndexStatus(java.lang.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(java.lang.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(java.lang.Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withIndexName(java.lang.String indexName)
The name of the global secondary index.
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withIndexStatus(IndexStatus indexStatus)
The current status of the global secondary index:
|
ReplicaGlobalSecondaryIndexSettingsDescription |
withIndexStatus(java.lang.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(java.lang.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(java.lang.Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException . |
public ReplicaGlobalSecondaryIndexSettingsDescription()
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 ReplicaGlobalSecondaryIndexSettingsDescription 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.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.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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 setIndexStatus(java.lang.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.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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 setIndexStatus(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.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, UPDATING, DELETING, ACTIVE
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 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 ReplicaGlobalSecondaryIndexSettingsDescription 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 AutoScalingSettingsDescription getProvisionedReadCapacityAutoScalingSettings()
Autoscaling settings for a global secondary index replica's read capacity units.
Autoscaling settings for a global secondary index replica's read capacity units.
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 ReplicaGlobalSecondaryIndexSettingsDescription withProvisionedReadCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings)
Autoscaling settings for a global secondary index replica's read capacity units.
Returns a reference to this object so that method calls can be chained together.
provisionedReadCapacityAutoScalingSettings
- Autoscaling settings for a global secondary index replica's read capacity units.
public java.lang.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(java.lang.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 ReplicaGlobalSecondaryIndexSettingsDescription withProvisionedWriteCapacityUnits(java.lang.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 AutoScalingSettingsDescription getProvisionedWriteCapacityAutoScalingSettings()
AutoScaling settings for a global secondary index replica's write capacity units.
AutoScaling settings for a global secondary index replica's write capacity units.
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 ReplicaGlobalSecondaryIndexSettingsDescription withProvisionedWriteCapacityAutoScalingSettings(AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings)
AutoScaling settings for a global secondary index replica's write capacity units.
Returns a reference to this object so that method calls can be chained together.
provisionedWriteCapacityAutoScalingSettings
- AutoScaling settings for a global secondary index replica's write capacity units.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.