Interface KeyspacesCell.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KeyspacesCell.Builder,,KeyspacesCell> SdkBuilder<KeyspacesCell.Builder,,KeyspacesCell> SdkPojo
- Enclosing class:
KeyspacesCell
@Mutable
@NotThreadSafe
public static interface KeyspacesCell.Builder
extends SdkPojo, CopyableBuilder<KeyspacesCell.Builder,KeyspacesCell>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyspacesCell.Buildermetadata(Consumer<KeyspacesMetadata.Builder> metadata) Metadata associated with this cell, such as time-to-live (TTL) expiration time and write timestamp.metadata(KeyspacesMetadata metadata) Metadata associated with this cell, such as time-to-live (TTL) expiration time and write timestamp.default KeyspacesCell.Buildervalue(Consumer<KeyspacesCellValue.Builder> value) The value stored in this cell, which can be of various data types supported by Amazon Keyspaces.value(KeyspacesCellValue value) The value stored in this cell, which can be of various data types supported by Amazon Keyspaces.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
-
value
The value stored in this cell, which can be of various data types supported by Amazon Keyspaces.
- Parameters:
value- The value stored in this cell, which can be of various data types supported by Amazon Keyspaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value stored in this cell, which can be of various data types supported by Amazon Keyspaces.
This is a convenience method that creates an instance of theKeyspacesCellValue.Builderavoiding the need to create one manually viaKeyspacesCellValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(KeyspacesCellValue).- Parameters:
value- a consumer that will call methods onKeyspacesCellValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
Metadata associated with this cell, such as time-to-live (TTL) expiration time and write timestamp.
- Parameters:
metadata- Metadata associated with this cell, such as time-to-live (TTL) expiration time and write timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata associated with this cell, such as time-to-live (TTL) expiration time and write timestamp.
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 tometadata(KeyspacesMetadata).- Parameters:
metadata- 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:
-