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