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