Class ResourceUnavailableException

All Implemented Interfaces:
Serializable

public class ResourceUnavailableException extends AmazonServiceException

The specified resource is not available.

See Also:
  • Constructor Details

    • ResourceUnavailableException

      public ResourceUnavailableException(String message)
      Constructs a new ResourceUnavailableException with the specified error message.
      Parameters:
      message - Describes the error encountered.
  • Method Details

    • setResourceId

      public void setResourceId(String resourceId)

      The identifier of the resource that is not available.

      Parameters:
      resourceId - The identifier of the resource that is not available.
    • getResourceId

      public String getResourceId()

      The identifier of the resource that is not available.

      Returns:
      The identifier of the resource that is not available.
    • withResourceId

      public ResourceUnavailableException withResourceId(String resourceId)

      The identifier of the resource that is not available.

      Parameters:
      resourceId - The identifier of the resource that is not available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.