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