Class InventoryEntrySetKeyActionBuilder
java.lang.Object
com.commercetools.api.models.inventory.InventoryEntrySetKeyActionBuilder
- All Implemented Interfaces:
Builder<InventoryEntrySetKeyAction>
public class InventoryEntrySetKeyActionBuilder
extends Object
implements Builder<InventoryEntrySetKeyAction>
InventoryEntrySetKeyActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
InventoryEntrySetKeyAction inventoryEntrySetKeyAction = InventoryEntrySetKeyAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds InventoryEntrySetKeyAction with checking for non-null required valuesbuilds InventoryEntrySetKeyAction without checking for non-null required valuesgetKey()
Value to set.Value to set.of()
factory method for an instance of InventoryEntrySetKeyActionBuilderof
(InventoryEntrySetKeyAction template) create builder for InventoryEntrySetKeyAction instance
-
Constructor Details
-
InventoryEntrySetKeyActionBuilder
public InventoryEntrySetKeyActionBuilder()
-
-
Method Details
-
key
Value to set. If empty, any existing value will be removed.
- Parameters:
key
- value to be set- Returns:
- Builder
-
getKey
Value to set. If empty, any existing value will be removed.
- Returns:
- key
-
build
builds InventoryEntrySetKeyAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<InventoryEntrySetKeyAction>
- Returns:
- InventoryEntrySetKeyAction
-
buildUnchecked
builds InventoryEntrySetKeyAction without checking for non-null required values- Returns:
- InventoryEntrySetKeyAction
-
of
factory method for an instance of InventoryEntrySetKeyActionBuilder- Returns:
- builder
-
of
create builder for InventoryEntrySetKeyAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-