Class CustomerGroupChangeNameActionBuilder
java.lang.Object
com.commercetools.api.models.customer_group.CustomerGroupChangeNameActionBuilder
- All Implemented Interfaces:
Builder<CustomerGroupChangeNameAction>
public class CustomerGroupChangeNameActionBuilder
extends Object
implements Builder<CustomerGroupChangeNameAction>
CustomerGroupChangeNameActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomerGroupChangeNameAction customerGroupChangeNameAction = CustomerGroupChangeNameAction.builder()
.name("{name}")
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomerGroupChangeNameAction with checking for non-null required valuesbuilds CustomerGroupChangeNameAction without checking for non-null required valuesgetName()
New name of the CustomerGroup.New name of the CustomerGroup.of()
factory method for an instance of CustomerGroupChangeNameActionBuilderof
(CustomerGroupChangeNameAction template) create builder for CustomerGroupChangeNameAction instance
-
Constructor Details
-
CustomerGroupChangeNameActionBuilder
public CustomerGroupChangeNameActionBuilder()
-
-
Method Details
-
name
New name of the CustomerGroup.
- Parameters:
name
- value to be set- Returns:
- Builder
-
getName
New name of the CustomerGroup.
- Returns:
- name
-
build
builds CustomerGroupChangeNameAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomerGroupChangeNameAction>
- Returns:
- CustomerGroupChangeNameAction
-
buildUnchecked
builds CustomerGroupChangeNameAction without checking for non-null required values- Returns:
- CustomerGroupChangeNameAction
-
of
factory method for an instance of CustomerGroupChangeNameActionBuilder- Returns:
- builder
-
of
create builder for CustomerGroupChangeNameAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-