Class FailedItemDetails

    • Constructor Detail

      • FailedItemDetails

        public FailedItemDetails()
    • Method Detail

      • setFailureCode

        public void setFailureCode​(String failureCode)

        The status code of a failed item.

        Parameters:
        failureCode - The status code of a failed item.
        See Also:
        FailedItemErrorCode
      • getFailureCode

        public String getFailureCode()

        The status code of a failed item.

        Returns:
        The status code of a failed item.
        See Also:
        FailedItemErrorCode
      • withFailureCode

        public FailedItemDetails withFailureCode​(String failureCode)

        The status code of a failed item.

        Parameters:
        failureCode - The status code of a failed item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FailedItemErrorCode
      • setFailureCode

        public void setFailureCode​(FailedItemErrorCode failureCode)

        The status code of a failed item.

        Parameters:
        failureCode - The status code of a failed item.
        See Also:
        FailedItemErrorCode
      • withFailureCode

        public FailedItemDetails withFailureCode​(FailedItemErrorCode failureCode)

        The status code of a failed item.

        Parameters:
        failureCode - The status code of a failed item.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FailedItemErrorCode
      • setRetryable

        public void setRetryable​(Boolean retryable)

        Indicates whether you can immediately retry a request for this item for a specified resource.

        Parameters:
        retryable - Indicates whether you can immediately retry a request for this item for a specified resource.
      • getRetryable

        public Boolean getRetryable()

        Indicates whether you can immediately retry a request for this item for a specified resource.

        Returns:
        Indicates whether you can immediately retry a request for this item for a specified resource.
      • withRetryable

        public FailedItemDetails withRetryable​(Boolean retryable)

        Indicates whether you can immediately retry a request for this item for a specified resource.

        Parameters:
        retryable - Indicates whether you can immediately retry a request for this item for a specified resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isRetryable

        public Boolean isRetryable()

        Indicates whether you can immediately retry a request for this item for a specified resource.

        Returns:
        Indicates whether you can immediately retry a request for this item for a specified resource.
      • 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