com.amazonaws.services.ec2.model
Class SpotInstanceStateFault

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

public class SpotInstanceStateFault
extends Object


Constructor Summary
SpotInstanceStateFault()
           
 
Method Summary
 String getCode()
           
 String getMessage()
           
 void setCode(String code)
           
 void setMessage(String message)
           
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SpotInstanceStateFault withCode(String code)
           Returns a reference to this object so that method calls can be chained together.
 SpotInstanceStateFault withMessage(String message)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpotInstanceStateFault

public SpotInstanceStateFault()
Method Detail

getCode

public String getCode()
Returns:

setCode

public void setCode(String code)
Parameters:
code -

withCode

public SpotInstanceStateFault withCode(String code)

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

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

getMessage

public String getMessage()
Returns:

setMessage

public void setMessage(String message)
Parameters:
message -

withMessage

public SpotInstanceStateFault withMessage(String message)

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

Parameters:
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()


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