Interface TypeChangeKeyAction

All Superinterfaces:
ResourceUpdateAction<TypeUpdateAction>, TypeUpdateAction

public interface TypeChangeKeyAction extends TypeUpdateAction
TypeChangeKeyAction
Example to create an instance using the builder pattern

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

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

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

      static TypeChangeKeyActionBuilder builder()
      builder factory method for TypeChangeKeyAction
      Returns:
      builder
    • builder

      create builder for TypeChangeKeyAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withTypeChangeKeyAction

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