Class VerifyEmailChangeBuilder

java.lang.Object
com.commercetools.history.models.change.VerifyEmailChangeBuilder
All Implemented Interfaces:
Builder<VerifyEmailChange>

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

     VerifyEmailChange verifyEmailChange = VerifyEmailChange.builder()
             .change("{change}")
             .build()
 
  • Constructor Details

    • VerifyEmailChangeBuilder

      public VerifyEmailChangeBuilder()
  • Method Details

    • change

      public VerifyEmailChangeBuilder change(String change)
      set the value to the change
      Parameters:
      change - value to be set
      Returns:
      Builder
    • getChange

      public String getChange()
      value of change}
      Returns:
      change
    • build

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

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

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

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