Class ProjectChangeShoppingListsConfigurationActionBuilder
java.lang.Object
com.commercetools.api.models.project.ProjectChangeShoppingListsConfigurationActionBuilder
- All Implemented Interfaces:
Builder<ProjectChangeShoppingListsConfigurationAction>
public class ProjectChangeShoppingListsConfigurationActionBuilder
extends Object
implements Builder<ProjectChangeShoppingListsConfigurationAction>
ProjectChangeShoppingListsConfigurationActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ProjectChangeShoppingListsConfigurationAction projectChangeShoppingListsConfigurationAction = ProjectChangeShoppingListsConfigurationAction.builder()
.shoppingListsConfiguration(shoppingListsConfigurationBuilder -> shoppingListsConfigurationBuilder)
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ProjectChangeShoppingListsConfigurationAction with checking for non-null required valuesbuilds ProjectChangeShoppingListsConfigurationAction without checking for non-null required valuesConfiguration for the Shopping Lists feature.of()
factory method for an instance of ProjectChangeShoppingListsConfigurationActionBuildercreate builder for ProjectChangeShoppingListsConfigurationAction instanceshoppingListsConfiguration
(ShoppingListsConfiguration shoppingListsConfiguration) Configuration for the Shopping Lists feature.shoppingListsConfiguration
(Function<ShoppingListsConfigurationBuilder, ShoppingListsConfigurationBuilder> builder) Configuration for the Shopping Lists feature.withShoppingListsConfiguration
(Function<ShoppingListsConfigurationBuilder, ShoppingListsConfiguration> builder) Configuration for the Shopping Lists feature.
-
Constructor Details
-
ProjectChangeShoppingListsConfigurationActionBuilder
public ProjectChangeShoppingListsConfigurationActionBuilder()
-
-
Method Details
-
shoppingListsConfiguration
public ProjectChangeShoppingListsConfigurationActionBuilder shoppingListsConfiguration(Function<ShoppingListsConfigurationBuilder, ShoppingListsConfigurationBuilder> builder) Configuration for the Shopping Lists feature.
- Parameters:
builder
- function to build the shoppingListsConfiguration value- Returns:
- Builder
-
withShoppingListsConfiguration
public ProjectChangeShoppingListsConfigurationActionBuilder withShoppingListsConfiguration(Function<ShoppingListsConfigurationBuilder, ShoppingListsConfiguration> builder) Configuration for the Shopping Lists feature.
- Parameters:
builder
- function to build the shoppingListsConfiguration value- Returns:
- Builder
-
shoppingListsConfiguration
public ProjectChangeShoppingListsConfigurationActionBuilder shoppingListsConfiguration(ShoppingListsConfiguration shoppingListsConfiguration) Configuration for the Shopping Lists feature.
- Parameters:
shoppingListsConfiguration
- value to be set- Returns:
- Builder
-
getShoppingListsConfiguration
Configuration for the Shopping Lists feature.
- Returns:
- shoppingListsConfiguration
-
build
builds ProjectChangeShoppingListsConfigurationAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ProjectChangeShoppingListsConfigurationAction>
- Returns:
- ProjectChangeShoppingListsConfigurationAction
-
buildUnchecked
builds ProjectChangeShoppingListsConfigurationAction without checking for non-null required values- Returns:
- ProjectChangeShoppingListsConfigurationAction
-
of
factory method for an instance of ProjectChangeShoppingListsConfigurationActionBuilder- Returns:
- builder
-
of
public static ProjectChangeShoppingListsConfigurationActionBuilder of(ProjectChangeShoppingListsConfigurationAction template) create builder for ProjectChangeShoppingListsConfigurationAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-