Class CustomFieldBooleanTypeBuilder
java.lang.Object
com.commercetools.importapi.models.types.CustomFieldBooleanTypeBuilder
- All Implemented Interfaces:
Builder<CustomFieldBooleanType>
public class CustomFieldBooleanTypeBuilder
extends Object
implements Builder<CustomFieldBooleanType>
CustomFieldBooleanTypeBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
CustomFieldBooleanType customFieldBooleanType = CustomFieldBooleanType.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds CustomFieldBooleanType with checking for non-null required valuesbuilds CustomFieldBooleanType without checking for non-null required valuesof()
factory method for an instance of CustomFieldBooleanTypeBuilderof
(CustomFieldBooleanType template) create builder for CustomFieldBooleanType instance
-
Constructor Details
-
CustomFieldBooleanTypeBuilder
public CustomFieldBooleanTypeBuilder()
-
-
Method Details
-
build
builds CustomFieldBooleanType with checking for non-null required values- Specified by:
build
in interfaceBuilder<CustomFieldBooleanType>
- Returns:
- CustomFieldBooleanType
-
buildUnchecked
builds CustomFieldBooleanType without checking for non-null required values- Returns:
- CustomFieldBooleanType
-
of
factory method for an instance of CustomFieldBooleanTypeBuilder- Returns:
- builder
-
of
create builder for CustomFieldBooleanType instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-