Package com.amazonaws.services.ec2.model
Class UnsuccessfulItem
- java.lang.Object
-
- com.amazonaws.services.ec2.model.UnsuccessfulItem
-
- All Implemented Interfaces:
Serializable,Cloneable
public class UnsuccessfulItem extends Object implements Serializable, Cloneable
Information about items that were not successfully processed in a batch call.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsuccessfulItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnsuccessfulItemclone()booleanequals(Object obj)UnsuccessfulItemErrorgetError()Information about the error.StringgetResourceId()The ID of the resource.inthashCode()voidsetError(UnsuccessfulItemError error)Information about the error.voidsetResourceId(String resourceId)The ID of the resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.UnsuccessfulItemwithError(UnsuccessfulItemError error)Information about the error.UnsuccessfulItemwithResourceId(String resourceId)The ID of the resource.
-
-
-
Method Detail
-
setResourceId
public void setResourceId(String resourceId)
The ID of the resource.
- Parameters:
resourceId- The ID of the resource.
-
getResourceId
public String getResourceId()
The ID of the resource.
- Returns:
- The ID of the resource.
-
withResourceId
public UnsuccessfulItem withResourceId(String resourceId)
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
public void setError(UnsuccessfulItemError error)
Information about the error.
- Parameters:
error- Information about the error.
-
getError
public UnsuccessfulItemError getError()
Information about the error.
- Returns:
- Information about the error.
-
withError
public UnsuccessfulItem withError(UnsuccessfulItemError error)
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
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 UnsuccessfulItem clone()
-
-