Interface AwsDynamoDbTableGlobalSecondaryIndex.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsDynamoDbTableGlobalSecondaryIndex.Builder,
,AwsDynamoDbTableGlobalSecondaryIndex> SdkBuilder<AwsDynamoDbTableGlobalSecondaryIndex.Builder,
,AwsDynamoDbTableGlobalSecondaryIndex> SdkPojo
- Enclosing class:
AwsDynamoDbTableGlobalSecondaryIndex
-
Method Summary
Modifier and TypeMethodDescriptionbackfilling
(Boolean backfilling) Whether the index is currently backfilling.The ARN of the index.The name of the index.indexSizeBytes
(Long indexSizeBytes) The total size in bytes of the index.indexStatus
(String indexStatus) The current status of the index.The number of items in the index.keySchema
(Collection<AwsDynamoDbTableKeySchema> keySchema) The key schema for the index.keySchema
(Consumer<AwsDynamoDbTableKeySchema.Builder>... keySchema) The key schema for the index.keySchema
(AwsDynamoDbTableKeySchema... keySchema) The key schema for the index.projection
(Consumer<AwsDynamoDbTableProjection.Builder> projection) Attributes that are copied from the table into an index.projection
(AwsDynamoDbTableProjection projection) Attributes that are copied from the table into an index.provisionedThroughput
(Consumer<AwsDynamoDbTableProvisionedThroughput.Builder> provisionedThroughput) Information about the provisioned throughput settings for the indexes.provisionedThroughput
(AwsDynamoDbTableProvisionedThroughput provisionedThroughput) Information about the provisioned throughput settings for the indexes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
backfilling
Whether the index is currently backfilling.
- Parameters:
backfilling
- Whether the index is currently backfilling.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexArn
The ARN of the index.
- Parameters:
indexArn
- The ARN of the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexName
The name of the index.
- Parameters:
indexName
- The name of the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexSizeBytes
The total size in bytes of the index.
- Parameters:
indexSizeBytes
- The total size in bytes of the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexStatus
The current status of the index.
-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
- Parameters:
indexStatus
- The current status of the index.-
ACTIVE
-
CREATING
-
DELETING
-
UPDATING
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
itemCount
The number of items in the index.
- Parameters:
itemCount
- The number of items in the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
AwsDynamoDbTableGlobalSecondaryIndex.Builder keySchema(Collection<AwsDynamoDbTableKeySchema> keySchema) The key schema for the index.
- Parameters:
keySchema
- The key schema for the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
The key schema for the index.
- Parameters:
keySchema
- The key schema for the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
AwsDynamoDbTableGlobalSecondaryIndex.Builder keySchema(Consumer<AwsDynamoDbTableKeySchema.Builder>... keySchema) The key schema for the index.
This is a convenience method that creates an instance of theAwsDynamoDbTableKeySchema.Builder
avoiding the need to create one manually viaAwsDynamoDbTableKeySchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeySchema(List<AwsDynamoDbTableKeySchema>)
.- Parameters:
keySchema
- a consumer that will call methods onAwsDynamoDbTableKeySchema.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projection
Attributes that are copied from the table into an index.
- Parameters:
projection
- Attributes that are copied from the table into an index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projection
default AwsDynamoDbTableGlobalSecondaryIndex.Builder projection(Consumer<AwsDynamoDbTableProjection.Builder> projection) Attributes that are copied from the table into an index.
This is a convenience method that creates an instance of theAwsDynamoDbTableProjection.Builder
avoiding the need to create one manually viaAwsDynamoDbTableProjection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojection(AwsDynamoDbTableProjection)
.- Parameters:
projection
- a consumer that will call methods onAwsDynamoDbTableProjection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisionedThroughput
AwsDynamoDbTableGlobalSecondaryIndex.Builder provisionedThroughput(AwsDynamoDbTableProvisionedThroughput provisionedThroughput) Information about the provisioned throughput settings for the indexes.
- Parameters:
provisionedThroughput
- Information about the provisioned throughput settings for the indexes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisionedThroughput
default AwsDynamoDbTableGlobalSecondaryIndex.Builder provisionedThroughput(Consumer<AwsDynamoDbTableProvisionedThroughput.Builder> provisionedThroughput) Information about the provisioned throughput settings for the indexes.
This is a convenience method that creates an instance of theAwsDynamoDbTableProvisionedThroughput.Builder
avoiding the need to create one manually viaAwsDynamoDbTableProvisionedThroughput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprovisionedThroughput(AwsDynamoDbTableProvisionedThroughput)
.- Parameters:
provisionedThroughput
- a consumer that will call methods onAwsDynamoDbTableProvisionedThroughput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-