public static interface PartitionIndexDescriptor.Builder extends SdkPojo, CopyableBuilder<PartitionIndexDescriptor.Builder,PartitionIndexDescriptor>
| Modifier and Type | Method and Description |
|---|---|
PartitionIndexDescriptor.Builder |
backfillErrors(BackfillError... backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
|
PartitionIndexDescriptor.Builder |
backfillErrors(Collection<BackfillError> backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
|
PartitionIndexDescriptor.Builder |
backfillErrors(Consumer<BackfillError.Builder>... backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
|
PartitionIndexDescriptor.Builder |
indexName(String indexName)
The name of the partition index.
|
PartitionIndexDescriptor.Builder |
indexStatus(PartitionIndexStatus indexStatus)
The status of the partition index.
|
PartitionIndexDescriptor.Builder |
indexStatus(String indexStatus)
The status of the partition index.
|
PartitionIndexDescriptor.Builder |
keys(Collection<KeySchemaElement> keys)
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
PartitionIndexDescriptor.Builder |
keys(Consumer<KeySchemaElement.Builder>... keys)
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
PartitionIndexDescriptor.Builder |
keys(KeySchemaElement... keys)
A list of one or more keys, as
KeySchemaElement structures, for the partition index. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPartitionIndexDescriptor.Builder indexName(String indexName)
The name of the partition index.
indexName - The name of the partition index.PartitionIndexDescriptor.Builder keys(Collection<KeySchemaElement> keys)
A list of one or more keys, as KeySchemaElement structures, for the partition index.
keys - A list of one or more keys, as KeySchemaElement structures, for the partition index.PartitionIndexDescriptor.Builder keys(KeySchemaElement... keys)
A list of one or more keys, as KeySchemaElement structures, for the partition index.
keys - A list of one or more keys, as KeySchemaElement structures, for the partition index.PartitionIndexDescriptor.Builder keys(Consumer<KeySchemaElement.Builder>... keys)
A list of one or more keys, as KeySchemaElement structures, for the partition index.
KeySchemaElement.Builder avoiding the need to create one
manually via KeySchemaElement.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #keys(List.
keys - a consumer that will call methods on
KeySchemaElement.Builder#keys(java.util.Collection) PartitionIndexDescriptor.Builder indexStatus(String indexStatus)
The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
indexStatus - The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
PartitionIndexStatus,
PartitionIndexStatusPartitionIndexDescriptor.Builder indexStatus(PartitionIndexStatus indexStatus)
The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
indexStatus - The status of the partition index.
The possible statuses are:
CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
ACTIVE: The index creation succeeds.
FAILED: The index creation fails.
DELETING: The index is deleted from the list of indexes.
PartitionIndexStatus,
PartitionIndexStatusPartitionIndexDescriptor.Builder backfillErrors(Collection<BackfillError> backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
backfillErrors - A list of errors that can occur when registering partition indexes for an existing table.PartitionIndexDescriptor.Builder backfillErrors(BackfillError... backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
backfillErrors - A list of errors that can occur when registering partition indexes for an existing table.PartitionIndexDescriptor.Builder backfillErrors(Consumer<BackfillError.Builder>... backfillErrors)
A list of errors that can occur when registering partition indexes for an existing table.
This is a convenience method that creates an instance of theBackfillError.Builder avoiding the need to create one
manually via BackfillError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #backfillErrors(List.
backfillErrors - a consumer that will call methods on
BackfillError.Builder#backfillErrors(java.util.Collection) Copyright © 2023. All rights reserved.