Interface ReviewSetTargetAction

All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>, ReviewUpdateAction

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

     ReviewSetTargetAction reviewSetTargetAction = ReviewSetTargetAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getTarget

      @NotNull @NotNull Object getTarget()

      Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.

      Returns:
      target
    • setTarget

      void setTarget(ProductResourceIdentifier target)

      Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.

      Parameters:
      target - value to be set
    • setTarget

      void setTarget(ChannelResourceIdentifier target)

      Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.

      Parameters:
      target - value to be set
    • setTarget

      void setTarget(Object target)

      Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.

      Parameters:
      target - value to be set
    • of

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

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

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

      static ReviewSetTargetActionBuilder builder()
      builder factory method for ReviewSetTargetAction
      Returns:
      builder
    • builder

      create builder for ReviewSetTargetAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withReviewSetTargetAction

      default <T> T withReviewSetTargetAction(Function<ReviewSetTargetAction,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<ReviewSetTargetAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference