Package com.amazonaws.services.ec2.model
Class UnsuccessfulItem
java.lang.Object
com.amazonaws.services.ec2.model.UnsuccessfulItem
- All Implemented Interfaces:
Serializable
,Cloneable
Information about items that were not successfully processed in a batch call.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getError()
Information about the error.The ID of the resource.int
hashCode()
void
setError
(UnsuccessfulItemError error) Information about the error.void
setResourceId
(String resourceId) The ID of the resource.toString()
Returns a string representation of this object; useful for testing and debugging.withError
(UnsuccessfulItemError error) Information about the error.withResourceId
(String resourceId) The ID of the resource.
-
Constructor Details
-
UnsuccessfulItem
public UnsuccessfulItem()
-
-
Method Details
-
setResourceId
The ID of the resource.
- Parameters:
resourceId
- The ID of the resource.
-
getResourceId
The ID of the resource.
- Returns:
- The ID of the resource.
-
withResourceId
The ID of the resource.
- Parameters:
resourceId
- The ID of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setError
Information about the error.
- Parameters:
error
- Information about the error.
-
getError
Information about the error.
- Returns:
- Information about the error.
-
withError
Information about the error.
- Parameters:
error
- Information about the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-