Class FailedItemDetails

java.lang.Object
com.amazonaws.services.inspector.model.FailedItemDetails
All Implemented Interfaces:
Serializable, Cloneable

public class FailedItemDetails extends Object implements Serializable, Cloneable

Includes details about the failed items.

See Also:
  • Constructor Details

    • FailedItemDetails

      public FailedItemDetails()
  • Method Details

    • setFailureCode

      public void setFailureCode(String failureCode)

      The status code of a failed item.

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

      public String getFailureCode()

      The status code of a failed item.

      Returns:
      The status code of a failed item.
      See Also:
    • 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:
    • setFailureCode

      public void setFailureCode(FailedItemErrorCode failureCode)

      The status code of a failed item.

      Parameters:
      failureCode - The status code of a failed item.
      See Also:
    • 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:
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public FailedItemDetails clone()
      Overrides:
      clone in class Object