Class UnsuccessfulItem

    • Constructor Detail

      • UnsuccessfulItem

        public UnsuccessfulItem()
    • Method Detail

      • setResourceId

        public void setResourceId​(String resourceId)

        The ID of the resource.

        Parameters:
        resourceId - The ID of the resource.
      • getResourceId

        public String getResourceId()

        The ID of the resource.

        Returns:
        The ID of the resource.
      • withResourceId

        public UnsuccessfulItem withResourceId​(String resourceId)

        The ID of the resource.

        Parameters:
        resourceId - The ID of the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setError

        public void setError​(UnsuccessfulItemError error)

        Information about the error.

        Parameters:
        error - Information about the error.
      • getError

        public UnsuccessfulItemError getError()

        Information about the error.

        Returns:
        Information about the error.
      • withError

        public UnsuccessfulItem withError​(UnsuccessfulItemError error)

        Information about the error.

        Parameters:
        error - Information about the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object