Class AttributeBooleanTypeBuilder
java.lang.Object
com.commercetools.importapi.models.producttypes.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds AttributeBooleanType with checking for non-null required valuesbuilds AttributeBooleanType without checking for non-null required valuesstatic AttributeBooleanTypeBuilderof()factory method for an instance of AttributeBooleanTypeBuilderstatic AttributeBooleanTypeBuilderof(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:
buildin 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
-