Class WhitespaceTokenizerBuilder

java.lang.Object
com.commercetools.importapi.models.products.WhitespaceTokenizerBuilder
All Implemented Interfaces:
Builder<WhitespaceTokenizer>

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

     WhitespaceTokenizer whitespaceTokenizer = WhitespaceTokenizer.builder()
             .build()
 
  • Constructor Details

    • WhitespaceTokenizerBuilder

      public WhitespaceTokenizerBuilder()
  • Method Details

    • build

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

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

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

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