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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FailedItemDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailedItemDetailsclone()booleanequals(Object obj)StringgetFailureCode()The status code of a failed item.BooleangetRetryable()Indicates whether you can immediately retry a request for this item for a specified resource.inthashCode()BooleanisRetryable()Indicates whether you can immediately retry a request for this item for a specified resource.voidsetFailureCode(FailedItemErrorCode failureCode)The status code of a failed item.voidsetFailureCode(String failureCode)The status code of a failed item.voidsetRetryable(Boolean retryable)Indicates whether you can immediately retry a request for this item for a specified resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.FailedItemDetailswithFailureCode(FailedItemErrorCode failureCode)The status code of a failed item.FailedItemDetailswithFailureCode(String failureCode)The status code of a failed item.FailedItemDetailswithRetryable(Boolean retryable)Indicates whether you can immediately retry a request for this item for a specified resource.
-
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FailedItemDetails clone()
-
-