Class AttributeDateTypeBuilder

java.lang.Object
com.commercetools.api.models.product_type.AttributeDateTypeBuilder
All Implemented Interfaces:
Builder<AttributeDateType>

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

     AttributeDateType attributeDateType = AttributeDateType.builder()
             .build()
 
  • Constructor Details

    • AttributeDateTypeBuilder

      public AttributeDateTypeBuilder()
  • Method Details

    • build

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

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

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

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