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