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