Interface AwsDynamoDbTableLocalSecondaryIndex.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsDynamoDbTableLocalSecondaryIndex.Builder,AwsDynamoDbTableLocalSecondaryIndex>,SdkBuilder<AwsDynamoDbTableLocalSecondaryIndex.Builder,AwsDynamoDbTableLocalSecondaryIndex>,SdkPojo
- Enclosing class:
- AwsDynamoDbTableLocalSecondaryIndex
public static interface AwsDynamoDbTableLocalSecondaryIndex.Builder extends SdkPojo, CopyableBuilder<AwsDynamoDbTableLocalSecondaryIndex.Builder,AwsDynamoDbTableLocalSecondaryIndex>
-
-
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, sdkFields
-
-
-
-
Method Detail
-
indexArn
AwsDynamoDbTableLocalSecondaryIndex.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
AwsDynamoDbTableLocalSecondaryIndex.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.
-
keySchema
AwsDynamoDbTableLocalSecondaryIndex.Builder keySchema(Collection<AwsDynamoDbTableKeySchema> keySchema)
The complete key schema for the index.
- Parameters:
keySchema- The complete key schema for the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
AwsDynamoDbTableLocalSecondaryIndex.Builder keySchema(AwsDynamoDbTableKeySchema... keySchema)
The complete key schema for the index.
- Parameters:
keySchema- The complete key schema for the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keySchema
AwsDynamoDbTableLocalSecondaryIndex.Builder keySchema(Consumer<AwsDynamoDbTableKeySchema.Builder>... keySchema)
The complete 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
AwsDynamoDbTableLocalSecondaryIndex.Builder projection(AwsDynamoDbTableProjection projection)
Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
- Parameters:
projection- Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projection
default AwsDynamoDbTableLocalSecondaryIndex.Builder projection(Consumer<AwsDynamoDbTableProjection.Builder> projection)
Attributes that are copied from the table into the index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
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)
-
-