Class AttributeTimeTypeBuilder

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

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

     AttributeTimeType attributeTimeType = AttributeTimeType.builder()
             .build()
 
  • Constructor Details

    • AttributeTimeTypeBuilder

      public AttributeTimeTypeBuilder()
  • Method Details

    • build

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

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

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

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