Class AttributeNumberTypeBuilder

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

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

     AttributeNumberType attributeNumberType = AttributeNumberType.builder()
             .build()
 
  • Constructor Details

    • AttributeNumberTypeBuilder

      public AttributeNumberTypeBuilder()
  • Method Details

    • build

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

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

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

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