Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.amazonaws.services.ec2.model
Class BundleTaskError

    java.lang.Object
      com.amazonaws.services.ec2.model.BundleTaskError

    public class BundleTaskError

extends Object

Represents an error that occurred during a bundle task.

Constructor Summary
`BundleTaskError()`

Method Summary
`String` | `getCode()` Error code.
`String` | `getMessage()` Error message.
`void` | `setCode(String code)` Error code.
`void` | `setMessage(String message)` Error message.
`String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
`BundleTaskError` | `withCode(String code)` Error code.
`BundleTaskError` | `withMessage(String message)` Error message.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### BundleTaskError

    public BundleTaskError()

Method Detail

### getCode

    public String getCode()

  Error code.

  Returns:
    Error code.

### setCode

    public void setCode(String code)

  Error code.

  Parameters:
    `code` - Error code.

### withCode

    public BundleTaskError withCode(String code)

  Error code.

  Returns a reference to this object so that method calls can be chained together.

  Parameters:
    `code` - Error code.
  Returns:
    A reference to this updated object so that method calls can be chained together.

### getMessage

    public String getMessage()

  Error message.

  Returns:
    Error message.

### setMessage

    public void setMessage(String message)

  Error message.

  Parameters:
    `message` - Error message.

### withMessage

    public BundleTaskError withMessage(String message)

  Error message.

  Returns a reference to this object so that method calls can be chained together.

  Parameters:
    `message` - Error message.
  Returns:
    A reference to this updated 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:
    `Object.toString()`

Overview | Package | Class | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.