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