Interface ReviewSetLocaleAction

All Superinterfaces:
ResourceUpdateAction<ReviewUpdateAction>, ReviewUpdateAction

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

     ReviewSetLocaleAction reviewSetLocaleAction = ReviewSetLocaleAction.builder()
             .build()
 
  • Field Details

  • Method Details

    • getLocale

      String getLocale()

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

      Returns:
      locale
    • setLocale

      void setLocale(String locale)

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

      Parameters:
      locale - value to be set
    • of

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

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

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

      static ReviewSetLocaleActionBuilder builder()
      builder factory method for ReviewSetLocaleAction
      Returns:
      builder
    • builder

      create builder for ReviewSetLocaleAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withReviewSetLocaleAction

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