Interface CategorySetKeyAction

All Superinterfaces:
CategoryUpdateAction, ResourceUpdateAction<CategoryUpdateAction>

public interface CategorySetKeyAction extends CategoryUpdateAction
CategorySetKeyAction
Example to create an instance using the builder pattern

     CategorySetKeyAction categorySetKeyAction = CategorySetKeyAction.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 CategorySetKeyAction of()
      factory method
      Returns:
      instance of CategorySetKeyAction
    • of

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

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

      static CategorySetKeyActionBuilder builder()
      builder factory method for CategorySetKeyAction
      Returns:
      builder
    • builder

      create builder for CategorySetKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withCategorySetKeyAction

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

      static CategorySetKeyAction ofUnset()
    • typeReference

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