Interface KeyValueStoreAssociations.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyValueStoreAssociations.Builder,
,KeyValueStoreAssociations> SdkBuilder<KeyValueStoreAssociations.Builder,
,KeyValueStoreAssociations> SdkPojo
- Enclosing class:
KeyValueStoreAssociations
public static interface KeyValueStoreAssociations.Builder
extends SdkPojo, CopyableBuilder<KeyValueStoreAssociations.Builder,KeyValueStoreAssociations>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<KeyValueStoreAssociation> items) The items of the key value store association.items
(Consumer<KeyValueStoreAssociation.Builder>... items) The items of the key value store association.items
(KeyValueStoreAssociation... items) The items of the key value store association.The quantity of key value store associations.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 Details
-
quantity
The quantity of key value store associations.
- Parameters:
quantity
- The quantity of key value store associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the key value store association.
- Parameters:
items
- The items of the key value store association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the key value store association.
- Parameters:
items
- The items of the key value store association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the key value store association.
This is a convenience method that creates an instance of theKeyValueStoreAssociation.Builder
avoiding the need to create one manually viaKeyValueStoreAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<KeyValueStoreAssociation>)
.- Parameters:
items
- a consumer that will call methods onKeyValueStoreAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-