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