Class PlatformFormatBuilder
java.lang.Object
com.commercetools.api.models.subscription.PlatformFormatBuilder
- All Implemented Interfaces:
Builder<PlatformFormat>
- Direct Known Subclasses:
DeliveryPlatformFormatBuilder
PlatformFormatBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
PlatformFormat platformFormat = PlatformFormat.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds PlatformFormat with checking for non-null required valuesbuilds PlatformFormat without checking for non-null required valuesstatic PlatformFormatBuilder
of()
factory method for an instance of PlatformFormatBuilderstatic PlatformFormatBuilder
of
(PlatformFormat template) create builder for PlatformFormat instance
-
Constructor Details
-
PlatformFormatBuilder
public PlatformFormatBuilder()
-
-
Method Details
-
build
builds PlatformFormat with checking for non-null required values- Specified by:
build
in interfaceBuilder<PlatformFormat>
- Returns:
- PlatformFormat
-
buildUnchecked
builds PlatformFormat without checking for non-null required values- Returns:
- PlatformFormat
-
of
factory method for an instance of PlatformFormatBuilder- Returns:
- builder
-
of
create builder for PlatformFormat instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-