com.amazonaws.services.ec2.model
Class BundleTaskError

java.lang.Object
  extended by 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
 boolean equals(Object obj)
           
 String getCode()
          Error code.
 String getMessage()
          Error message.
 int hashCode()
           
 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
getClass, 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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


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