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 UnsuccessfulItem
clone()
boolean
equals(Object obj)
UnsuccessfulItemError
getError()
Information about the error.String
getResourceId()
The ID of the resource.int
hashCode()
void
setError(UnsuccessfulItemError error)
Information about the error.void
setResourceId(String resourceId)
The ID of the resource.String
toString()
Returns a string representation of this object; useful for testing and debugging.UnsuccessfulItem
withError(UnsuccessfulItemError error)
Information about the error.UnsuccessfulItem
withResourceId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UnsuccessfulItem clone()
-
-