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