Class ZoneSetDescriptionActionBuilder
java.lang.Object
com.commercetools.api.models.zone.ZoneSetDescriptionActionBuilder
- All Implemented Interfaces:
Builder<ZoneSetDescriptionAction>
public class ZoneSetDescriptionActionBuilder
extends Object
implements Builder<ZoneSetDescriptionAction>
ZoneSetDescriptionActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
ZoneSetDescriptionAction zoneSetDescriptionAction = ZoneSetDescriptionAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ZoneSetDescriptionAction with checking for non-null required valuesbuilds ZoneSetDescriptionAction without checking for non-null required valuesdescription
(String description) Description of the Zone.Description of the Zone.of()
factory method for an instance of ZoneSetDescriptionActionBuilderof
(ZoneSetDescriptionAction template) create builder for ZoneSetDescriptionAction instance
-
Constructor Details
-
ZoneSetDescriptionActionBuilder
public ZoneSetDescriptionActionBuilder()
-
-
Method Details
-
description
Description of the Zone.
- Parameters:
description
- value to be set- Returns:
- Builder
-
getDescription
Description of the Zone.
- Returns:
- description
-
build
builds ZoneSetDescriptionAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ZoneSetDescriptionAction>
- Returns:
- ZoneSetDescriptionAction
-
buildUnchecked
builds ZoneSetDescriptionAction without checking for non-null required values- Returns:
- ZoneSetDescriptionAction
-
of
factory method for an instance of ZoneSetDescriptionActionBuilder- Returns:
- builder
-
of
create builder for ZoneSetDescriptionAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-