Class CustomFieldDateTypeBuilder

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

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

     CustomFieldDateType customFieldDateType = CustomFieldDateType.builder()
             .build()
 
  • Constructor Details

    • CustomFieldDateTypeBuilder

      public CustomFieldDateTypeBuilder()
  • Method Details

    • build

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

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

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

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