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.Builder
metadata
(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.Builder
value
(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
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
-
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.Builder
avoiding the need to create one manually viaKeyspacesCellValue.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaKeyspacesMetadata.builder()
.When the
Consumer
completes,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:
-