Interface ResourceDeletionError

All Superinterfaces:
ErrorObject

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

     ResourceDeletionError resourceDeletionError = ResourceDeletionError.builder()
             .message("{message}")
             .build()
 
  • Field Details

    • RESOURCE_DELETION

      static final String RESOURCE_DELETION
      discriminator value for ResourceDeletionError
      See Also:
  • Method Details

    • getResource

      Object getResource()
      Returns:
      resource
    • setResource

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

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

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

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

      static ResourceDeletionErrorBuilder builder()
      builder factory method for ResourceDeletionError
      Returns:
      builder
    • builder

      create builder for ResourceDeletionError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withResourceDeletionError

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