com.amazonaws.services.ec2.model
Class BundleTaskError

java.lang.Object
  extended by com.amazonaws.services.ec2.model.BundleTaskError
All Implemented Interfaces:
java.io.Serializable

public class BundleTaskError
extends java.lang.Object
implements java.io.Serializable

Describes an error for BundleInstance.

See Also:
Serialized Form

Constructor Summary
BundleTaskError()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCode()
          The error code.
 java.lang.String getMessage()
          The error message.
 int hashCode()
           
 void setCode(java.lang.String code)
          The error code.
 void setMessage(java.lang.String message)
          The error message.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 BundleTaskError withCode(java.lang.String code)
          The error code.
 BundleTaskError withMessage(java.lang.String message)
          The error message.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleTaskError

public BundleTaskError()
Method Detail

getCode

public java.lang.String getCode()
The error code.

Returns:
The error code.

setCode

public void setCode(java.lang.String code)
The error code.

Parameters:
code - The error code.

withCode

public BundleTaskError withCode(java.lang.String code)
The error code.

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

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

getMessage

public java.lang.String getMessage()
The error message.

Returns:
The error message.

setMessage

public void setMessage(java.lang.String message)
The error message.

Parameters:
message - The error message.

withMessage

public BundleTaskError withMessage(java.lang.String message)
The error message.

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

Parameters:
message - The error message.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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