Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class SpotInstanceStatus

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

public class SpotInstanceStatus
extends Object
implements Serializable

Spot Instance Status

See Also:
Serialized Form

Constructor Summary
SpotInstanceStatus()
           
 
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.
 Date getUpdateTime()
          Returns the value of the UpdateTime 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.
 void setUpdateTime(Date updateTime)
          Sets the value of the UpdateTime property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SpotInstanceStatus withCode(String code)
          Sets the value of the Code property for this object.
 SpotInstanceStatus withMessage(String message)
          Sets the value of the Message property for this object.
 SpotInstanceStatus withUpdateTime(Date updateTime)
          Sets the value of the UpdateTime property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpotInstanceStatus

public SpotInstanceStatus()
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 SpotInstanceStatus 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.

getUpdateTime

public Date getUpdateTime()
Returns the value of the UpdateTime property for this object.

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

setUpdateTime

public void setUpdateTime(Date updateTime)
Sets the value of the UpdateTime property for this object.

Parameters:
updateTime - The new value for the UpdateTime property for this object.

withUpdateTime

public SpotInstanceStatus withUpdateTime(Date updateTime)
Sets the value of the UpdateTime property for this object.

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

Parameters:
updateTime - The new value for the UpdateTime 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 SpotInstanceStatus 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.