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