Interface ResourceUpdateError

All Superinterfaces:
ErrorObject

public interface ResourceUpdateError extends ErrorObject
ResourceUpdateError
Example to create an instance using the builder pattern

     ResourceUpdateError resourceUpdateError = ResourceUpdateError.builder()
             .message("{message}")
             .build()
 
  • Field Details

  • Method Details

    • getResource

      Object getResource()
      Returns:
      resource
    • setResource

      void setResource(Object resource)
      set resource
      Parameters:
      resource - value to be set
    • of

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

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

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

      static ResourceUpdateErrorBuilder builder()
      builder factory method for ResourceUpdateError
      Returns:
      builder
    • builder

      create builder for ResourceUpdateError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withResourceUpdateError

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