Interface KeyspacesCellMapDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KeyspacesCellMapDefinition.Builder,,KeyspacesCellMapDefinition> SdkBuilder<KeyspacesCellMapDefinition.Builder,,KeyspacesCellMapDefinition> SdkPojo
- Enclosing class:
KeyspacesCellMapDefinition
-
Method Summary
Modifier and TypeMethodDescriptionThe key of this map entry in the Amazon Keyspaces cell.key(KeyspacesCellValue key) The key of this map entry in the Amazon Keyspaces cell.metadata(Consumer<KeyspacesMetadata.Builder> metadata) Metadata for this specific key-value pair within the map, such as timestamps and TTL information.metadata(KeyspacesMetadata metadata) Metadata for this specific key-value pair within the map, such as timestamps and TTL information.value(Consumer<KeyspacesCellValue.Builder> value) The value associated with the key in this map entry.value(KeyspacesCellValue value) The value associated with the key in this map entry.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
-
key
The key of this map entry in the Amazon Keyspaces cell.
- Parameters:
key- The key of this map entry in the Amazon Keyspaces cell.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
The key of this map entry in the Amazon Keyspaces cell.
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 tokey(KeyspacesCellValue).- Parameters:
key- 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:
-
value
The value associated with the key in this map entry.
- Parameters:
value- The value associated with the key in this map entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value associated with the key in this map entry.
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 for this specific key-value pair within the map, such as timestamps and TTL information.
- Parameters:
metadata- Metadata for this specific key-value pair within the map, such as timestamps and TTL information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata for this specific key-value pair within the map, 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 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:
-