Class ReplicaGlobalSecondaryIndexSettingsDescription
- java.lang.Object
-
- software.amazon.awssdk.services.dynamodb.model.ReplicaGlobalSecondaryIndexSettingsDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicaGlobalSecondaryIndexSettingsDescription.Builder,ReplicaGlobalSecondaryIndexSettingsDescription>
@Generated("software.amazon.awssdk:codegen") public final class ReplicaGlobalSecondaryIndexSettingsDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicaGlobalSecondaryIndexSettingsDescription.Builder,ReplicaGlobalSecondaryIndexSettingsDescription>
Represents the properties of a global secondary index.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicaGlobalSecondaryIndexSettingsDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicaGlobalSecondaryIndexSettingsDescription.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringindexName()The name of the global secondary index.IndexStatusindexStatus()The current status of the global secondary index:StringindexStatusAsString()The current status of the global secondary index:AutoScalingSettingsDescriptionprovisionedReadCapacityAutoScalingSettings()Auto scaling settings for a global secondary index replica's read capacity units.LongprovisionedReadCapacityUnits()The maximum number of strongly consistent reads consumed per second before DynamoDB returns aThrottlingException.AutoScalingSettingsDescriptionprovisionedWriteCapacityAutoScalingSettings()Auto scaling settings for a global secondary index replica's write capacity units.LongprovisionedWriteCapacityUnits()The maximum number of writes consumed per second before DynamoDB returns aThrottlingException.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReplicaGlobalSecondaryIndexSettingsDescription.Builder>serializableBuilderClass()ReplicaGlobalSecondaryIndexSettingsDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
indexName
public final String indexName()
The name of the global secondary index. The name must be unique among all other indexes on this table.
- Returns:
- The name of the global secondary index. The name must be unique among all other indexes on this table.
-
indexStatus
public final 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,
indexStatuswill returnIndexStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromindexStatusAsString().- Returns:
- 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.
-
- See Also:
IndexStatus
-
-
indexStatusAsString
public final 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,
indexStatuswill returnIndexStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromindexStatusAsString().- Returns:
- 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.
-
- See Also:
IndexStatus
-
-
provisionedReadCapacityUnits
public final Long provisionedReadCapacityUnits()
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException.- Returns:
- The maximum number of strongly consistent reads consumed per second before DynamoDB returns a
ThrottlingException.
-
provisionedReadCapacityAutoScalingSettings
public final AutoScalingSettingsDescription provisionedReadCapacityAutoScalingSettings()
Auto scaling settings for a global secondary index replica's read capacity units.
- Returns:
- Auto scaling settings for a global secondary index replica's read capacity units.
-
provisionedWriteCapacityUnits
public final Long provisionedWriteCapacityUnits()
The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.- Returns:
- The maximum number of writes consumed per second before DynamoDB returns a
ThrottlingException.
-
provisionedWriteCapacityAutoScalingSettings
public final AutoScalingSettingsDescription provisionedWriteCapacityAutoScalingSettings()
Auto scaling settings for a global secondary index replica's write capacity units.
- Returns:
- Auto scaling settings for a global secondary index replica's write capacity units.
-
toBuilder
public ReplicaGlobalSecondaryIndexSettingsDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicaGlobalSecondaryIndexSettingsDescription.Builder,ReplicaGlobalSecondaryIndexSettingsDescription>
-
builder
public static ReplicaGlobalSecondaryIndexSettingsDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicaGlobalSecondaryIndexSettingsDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-