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:
  • Constructor Details

    • UnsuccessfulItem

      public UnsuccessfulItem()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public UnsuccessfulItem clone()
      Overrides:
      clone in class Object