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