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