Interface AwsDynamoDbTableGlobalSecondaryIndex.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsDynamoDbTableGlobalSecondaryIndex.Builder,AwsDynamoDbTableGlobalSecondaryIndex>,SdkBuilder<AwsDynamoDbTableGlobalSecondaryIndex.Builder,AwsDynamoDbTableGlobalSecondaryIndex>,SdkPojo
- Enclosing class:
- AwsDynamoDbTableGlobalSecondaryIndex
public static interface AwsDynamoDbTableGlobalSecondaryIndex.Builder extends SdkPojo, CopyableBuilder<AwsDynamoDbTableGlobalSecondaryIndex.Builder,AwsDynamoDbTableGlobalSecondaryIndex>
-
-
Method Summary
-
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 Detail
-
backfilling
AwsDynamoDbTableGlobalSecondaryIndex.Builder backfilling(Boolean 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
AwsDynamoDbTableGlobalSecondaryIndex.Builder indexArn(String 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
AwsDynamoDbTableGlobalSecondaryIndex.Builder indexName(String 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
AwsDynamoDbTableGlobalSecondaryIndex.Builder indexSizeBytes(Long 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
AwsDynamoDbTableGlobalSecondaryIndex.Builder indexStatus(String 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
AwsDynamoDbTableGlobalSecondaryIndex.Builder itemCount(Integer 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
AwsDynamoDbTableGlobalSecondaryIndex.Builder keySchema(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
AwsDynamoDbTableGlobalSecondaryIndex.Builder keySchema(Consumer<AwsDynamoDbTableKeySchema.Builder>... keySchema)
The key schema for the index.
This is a convenience method that creates an instance of theAwsDynamoDbTableKeySchema.Builderavoiding the need to create one manually viaAwsDynamoDbTableKeySchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#keySchema(List.) - 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:
#keySchema(java.util.Collection)
-
projection
AwsDynamoDbTableGlobalSecondaryIndex.Builder projection(AwsDynamoDbTableProjection 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.Builderavoiding the need to create one manually viaAwsDynamoDbTableProjection.builder().When the
Consumercompletes,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:
projection(AwsDynamoDbTableProjection)
-
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.Builderavoiding the need to create one manually viaAwsDynamoDbTableProvisionedThroughput.builder().When the
Consumercompletes,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:
provisionedThroughput(AwsDynamoDbTableProvisionedThroughput)
-
-