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