Class CustomFieldTimeTypeBuilder

java.lang.Object
com.commercetools.api.models.type.CustomFieldTimeTypeBuilder
All Implemented Interfaces:
Builder<CustomFieldTimeType>

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

     CustomFieldTimeType customFieldTimeType = CustomFieldTimeType.builder()
             .build()
 
  • Constructor Details

    • CustomFieldTimeTypeBuilder

      public CustomFieldTimeTypeBuilder()
  • Method Details

    • build

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

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

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

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