Class AttributeTextTypeBuilder

java.lang.Object
com.commercetools.importapi.models.producttypes.AttributeTextTypeBuilder
All Implemented Interfaces:
Builder<AttributeTextType>

public class AttributeTextTypeBuilder extends Object implements Builder<AttributeTextType>
AttributeTextTypeBuilder
Example to create an instance using the builder pattern

     AttributeTextType attributeTextType = AttributeTextType.builder()
             .build()
 
  • Constructor Details

    • AttributeTextTypeBuilder

      public AttributeTextTypeBuilder()
  • Method Details

    • build

      public AttributeTextType build()
      builds AttributeTextType with checking for non-null required values
      Specified by:
      build in interface Builder<AttributeTextType>
      Returns:
      AttributeTextType
    • buildUnchecked

      public AttributeTextType buildUnchecked()
      builds AttributeTextType without checking for non-null required values
      Returns:
      AttributeTextType
    • of

      public static AttributeTextTypeBuilder of()
      factory method for an instance of AttributeTextTypeBuilder
      Returns:
      builder
    • of

      public static AttributeTextTypeBuilder of(AttributeTextType template)
      create builder for AttributeTextType instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder