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