com.amazonaws.services.ec2.model
Class SpotInstanceStateFault

java.lang.Object
  extended by com.amazonaws.services.ec2.model.SpotInstanceStateFault

public class SpotInstanceStateFault
extends Object

Spot Instance State Fault


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

Constructor Detail

SpotInstanceStateFault

public SpotInstanceStateFault()
Method Detail

getCode

public String getCode()
Returns the value of the Code property for this object.

Returns:
The value of the Code property for this object.

setCode

public void setCode(String code)
Sets the value of the Code property for this object.

Parameters:
code - The new value for the Code property for this object.

withCode

public SpotInstanceStateFault withCode(String code)
Sets the value of the Code property for this object.

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

Parameters:
code - The new value for the Code property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getMessage

public String getMessage()
Returns the value of the Message property for this object.

Returns:
The value of the Message property for this object.

setMessage

public void setMessage(String message)
Sets the value of the Message property for this object.

Parameters:
message - The new value for the Message property for this object.

withMessage

public SpotInstanceStateFault withMessage(String message)
Sets the value of the Message property for this object.

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

Parameters:
message - The new value for the Message property for this object.
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.