Interface ReviewSetKeyAction

All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>, ReviewUpdateAction

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

     ReviewSetKeyAction reviewSetKeyAction = ReviewSetKeyAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getKey

      String getKey()

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

      Returns:
      key
    • setKey

      void setKey(String key)

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

      Parameters:
      key - value to be set
    • of

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

      static ReviewSetKeyAction of(ReviewSetKeyAction template)
      factory method to create a shallow copy ReviewSetKeyAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

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

      static ReviewSetKeyActionBuilder builder()
      builder factory method for ReviewSetKeyAction
      Returns:
      builder
    • builder

      static ReviewSetKeyActionBuilder builder(ReviewSetKeyAction template)
      create builder for ReviewSetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withReviewSetKeyAction

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

      static ReviewSetKeyAction ofUnset()
    • typeReference

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