Class ReviewSetTitleActionBuilder

java.lang.Object
com.commercetools.api.models.review.ReviewSetTitleActionBuilder
All Implemented Interfaces:
Builder<ReviewSetTitleAction>

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

     ReviewSetTitleAction reviewSetTitleAction = ReviewSetTitleAction.builder()
             .build()
 
  • Constructor Details

    • ReviewSetTitleActionBuilder

      public ReviewSetTitleActionBuilder()
  • Method Details

    • title

      Value to set. If empty, any existing value will be removed.

      Parameters:
      title - value to be set
      Returns:
      Builder
    • getTitle

      @Nullable public String getTitle()

      Value to set. If empty, any existing value will be removed.

      Returns:
      title
    • build

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

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

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

      create builder for ReviewSetTitleAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder