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