Interface ReviewSetTextAction

All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>, ReviewUpdateAction

public interface ReviewSetTextAction extends ReviewUpdateAction
ReviewSetTextAction
Example to create an instance using the builder pattern

     ReviewSetTextAction reviewSetTextAction = ReviewSetTextAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getText

      String getText()

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

      Returns:
      text
    • setText

      void setText(String text)

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

      Parameters:
      text - value to be set
    • of

      static ReviewSetTextAction of()
      factory method
      Returns:
      instance of ReviewSetTextAction
    • of

      factory method to create a shallow copy ReviewSetTextAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ReviewSetTextAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static ReviewSetTextActionBuilder builder()
      builder factory method for ReviewSetTextAction
      Returns:
      builder
    • builder

      create builder for ReviewSetTextAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withReviewSetTextAction

      default <T> T withReviewSetTextAction(Function<ReviewSetTextAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ReviewSetTextAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference