@Generated(value="software.amazon.awssdk:codegen") public final class ReplicaGlobalSecondaryIndexSettingsDescription extends Object implements StructuredPojo, ToCopyableBuilder<ReplicaGlobalSecondaryIndexSettingsDescription.Builder,ReplicaGlobalSecondaryIndexSettingsDescription>
Represents the properties of a global secondary index.
Modifier and Type | Class and Description |
---|---|
static interface |
ReplicaGlobalSecondaryIndexSettingsDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static ReplicaGlobalSecondaryIndexSettingsDescription.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
indexName()
The name of the global secondary index.
|
IndexStatus |
indexStatus()
The current status of the global secondary index:
|
String |
indexStatusAsString()
The current status of the global secondary index:
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Long |
provisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException . |
Long |
provisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException . |
static Class<? extends ReplicaGlobalSecondaryIndexSettingsDescription.Builder> |
serializableBuilderClass() |
ReplicaGlobalSecondaryIndexSettingsDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String indexName()
The name of the global secondary index. The name must be unique among all other indexes on this table.
public 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.
If the service returns an enum value that is not available in the current SDK version, indexStatus
will
return IndexStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
indexStatusAsString()
.
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 indexStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, indexStatus
will
return IndexStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
indexStatusAsString()
.
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 Long provisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException
.
ThrottlingException
.public Long provisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
ThrottlingException
.public ReplicaGlobalSecondaryIndexSettingsDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ReplicaGlobalSecondaryIndexSettingsDescription.Builder,ReplicaGlobalSecondaryIndexSettingsDescription>
public static ReplicaGlobalSecondaryIndexSettingsDescription.Builder builder()
public static Class<? extends ReplicaGlobalSecondaryIndexSettingsDescription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.