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 FailedItemDetails
clone()
boolean
equals(Object obj)
String
getFailureCode()
The status code of a failed item.Boolean
getRetryable()
Indicates whether you can immediately retry a request for this item for a specified resource.int
hashCode()
Boolean
isRetryable()
Indicates whether you can immediately retry a request for this item for a specified resource.void
setFailureCode(FailedItemErrorCode failureCode)
The status code of a failed item.void
setFailureCode(String failureCode)
The status code of a failed item.void
setRetryable(Boolean retryable)
Indicates whether you can immediately retry a request for this item for a specified resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.FailedItemDetails
withFailureCode(FailedItemErrorCode failureCode)
The status code of a failed item.FailedItemDetails
withFailureCode(String failureCode)
The status code of a failed item.FailedItemDetails
withRetryable(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FailedItemDetails clone()
-
-