Interface StateChangeKeyAction

All Superinterfaces:
ResourceUpdateAction<StateUpdateAction>, StateUpdateAction

public interface StateChangeKeyAction extends StateUpdateAction
StateChangeKeyAction
Example to create an instance using the builder pattern

     StateChangeKeyAction stateChangeKeyAction = StateChangeKeyAction.builder()
             .key("{key}")
             .build()
 
  • Field Details

  • Method Details

    • getKey

      @NotNull @NotNull String getKey()

      New value to set. Must not be empty.

      Returns:
      key
    • setKey

      void setKey(String key)

      New value to set. Must not be empty.

      Parameters:
      key - value to be set
    • of

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

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

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

      static StateChangeKeyActionBuilder builder()
      builder factory method for StateChangeKeyAction
      Returns:
      builder
    • builder

      create builder for StateChangeKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withStateChangeKeyAction

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