Interface KeyspacesRow.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KeyspacesRow.Builder,,KeyspacesRow> SdkBuilder<KeyspacesRow.Builder,,KeyspacesRow> SdkPojo
- Enclosing class:
KeyspacesRow
@Mutable
@NotThreadSafe
public static interface KeyspacesRow.Builder
extends SdkPojo, CopyableBuilder<KeyspacesRow.Builder,KeyspacesRow>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyspacesRow.BuilderrowMetadata(Consumer<KeyspacesMetadata.Builder> rowMetadata) Metadata that applies to the entire row, such as timestamps and TTL information.rowMetadata(KeyspacesMetadata rowMetadata) Metadata that applies to the entire row, such as timestamps and TTL information.staticCells(Map<String, KeyspacesCell> staticCells) A map of static column cells shared by all rows with the same partition key, where keys are column names and values are the corresponding cells.valueCells(Map<String, KeyspacesCell> valueCells) A map of regular (non-static) column cells in the row, where keys are column names and values are the corresponding cells.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
valueCells
A map of regular (non-static) column cells in the row, where keys are column names and values are the corresponding cells.
- Parameters:
valueCells- A map of regular (non-static) column cells in the row, where keys are column names and values are the corresponding cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticCells
A map of static column cells shared by all rows with the same partition key, where keys are column names and values are the corresponding cells.
- Parameters:
staticCells- A map of static column cells shared by all rows with the same partition key, where keys are column names and values are the corresponding cells.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rowMetadata
Metadata that applies to the entire row, such as timestamps and TTL information.
- Parameters:
rowMetadata- Metadata that applies to the entire row, such as timestamps and TTL information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rowMetadata
Metadata that applies to the entire row, such as timestamps and TTL information.
This is a convenience method that creates an instance of theKeyspacesMetadata.Builderavoiding the need to create one manually viaKeyspacesMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torowMetadata(KeyspacesMetadata).- Parameters:
rowMetadata- a consumer that will call methods onKeyspacesMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-