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