Class ShoppingListSetCustomTypeActionBuilder
- All Implemented Interfaces:
Builder<ShoppingListSetCustomTypeAction>
Example to create an instance using the builder pattern
ShoppingListSetCustomTypeAction shoppingListSetCustomTypeAction = ShoppingListSetCustomTypeAction.builder()
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ShoppingListSetCustomTypeAction with checking for non-null required valuesbuilds ShoppingListSetCustomTypeAction without checking for non-null required valuesfields
(FieldContainer fields) Sets the Custom Fields fields for the ShoppingList.Sets the Custom Fields fields for the ShoppingList.Sets the Custom Fields fields for the ShoppingList.getType()
Defines the Type that extends the ShoppingList with Custom Fields.of()
factory method for an instance of ShoppingListSetCustomTypeActionBuilderof
(ShoppingListSetCustomTypeAction template) create builder for ShoppingListSetCustomTypeAction instancetype
(TypeResourceIdentifier type) Defines the Type that extends the ShoppingList with Custom Fields.Defines the Type that extends the ShoppingList with Custom Fields.Sets the Custom Fields fields for the ShoppingList.Defines the Type that extends the ShoppingList with Custom Fields.
-
Constructor Details
-
ShoppingListSetCustomTypeActionBuilder
public ShoppingListSetCustomTypeActionBuilder()
-
-
Method Details
-
type
public ShoppingListSetCustomTypeActionBuilder type(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifierBuilder> builder) Defines the Type that extends the ShoppingList with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingList.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
withType
public ShoppingListSetCustomTypeActionBuilder withType(Function<TypeResourceIdentifierBuilder, TypeResourceIdentifier> builder) Defines the Type that extends the ShoppingList with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingList.
- Parameters:
builder
- function to build the type value- Returns:
- Builder
-
type
Defines the Type that extends the ShoppingList with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingList.
- Parameters:
type
- value to be set- Returns:
- Builder
-
fields
public ShoppingListSetCustomTypeActionBuilder fields(Function<FieldContainerBuilder, FieldContainerBuilder> builder) Sets the Custom Fields fields for the ShoppingList.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
withFields
public ShoppingListSetCustomTypeActionBuilder withFields(Function<FieldContainerBuilder, FieldContainer> builder) Sets the Custom Fields fields for the ShoppingList.
- Parameters:
builder
- function to build the fields value- Returns:
- Builder
-
fields
Sets the Custom Fields fields for the ShoppingList.
- Parameters:
fields
- value to be set- Returns:
- Builder
-
getType
Defines the Type that extends the ShoppingList with Custom Fields. If absent, any existing Type and Custom Fields are removed from the ShoppingList.
- Returns:
- type
-
getFields
Sets the Custom Fields fields for the ShoppingList.
- Returns:
- fields
-
build
builds ShoppingListSetCustomTypeAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ShoppingListSetCustomTypeAction>
- Returns:
- ShoppingListSetCustomTypeAction
-
buildUnchecked
builds ShoppingListSetCustomTypeAction without checking for non-null required values- Returns:
- ShoppingListSetCustomTypeAction
-
of
factory method for an instance of ShoppingListSetCustomTypeActionBuilder- Returns:
- builder
-
of
create builder for ShoppingListSetCustomTypeAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-