public class ReplicaGlobalSecondaryIndexSettingsDescription extends Object implements Serializable
Represents the properties of a global secondary index.
| Constructor and Description |
|---|
ReplicaGlobalSecondaryIndexSettingsDescription() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getIndexName()
The name of the global secondary index.
|
String |
getIndexStatus()
The current status of the global secondary index:
|
Long |
getProvisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
Long |
getProvisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
int |
hashCode() |
void |
setIndexName(String indexName)
The name of the global secondary index.
|
void |
setIndexStatus(IndexStatus indexStatus)
The current status of the global secondary index:
|
void |
setIndexStatus(String indexStatus)
The current status of the global secondary index:
|
void |
setProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
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 |
withProvisionedReadCapacityUnits(Long provisionedReadCapacityUnits)
The maximum number of strongly consistent reads consumed per second
before DynamoDB returns a
ThrottlingException. |
ReplicaGlobalSecondaryIndexSettingsDescription |
withProvisionedWriteCapacityUnits(Long provisionedWriteCapacityUnits)
The maximum number of writes consumed per second before DynamoDB returns
a
ThrottlingException. |
public ReplicaGlobalSecondaryIndexSettingsDescription()
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 ReplicaGlobalSecondaryIndexSettingsDescription 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 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.
IndexStatuspublic 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.
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.
IndexStatuspublic 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.
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.
IndexStatuspublic 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.
IndexStatuspublic 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.
IndexStatuspublic 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 ReplicaGlobalSecondaryIndexSettingsDescription 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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.