public class SpotInstanceStatus extends Object implements Serializable
Describes a Spot Instance request.
Constructor and Description |
---|
SpotInstanceStatus() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCode()
The status code of the request.
|
String |
getMessage()
The description for the status code for the Spot request.
|
Date |
getUpdateTime()
The time of the most recent status update.
|
int |
hashCode() |
void |
setCode(String code)
The status code of the request.
|
void |
setMessage(String message)
The description for the status code for the Spot request.
|
void |
setUpdateTime(Date updateTime)
The time of the most recent status update.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SpotInstanceStatus |
withCode(String code)
The status code of the request.
|
SpotInstanceStatus |
withMessage(String message)
The description for the status code for the Spot request.
|
SpotInstanceStatus |
withUpdateTime(Date updateTime)
The time of the most recent status update.
|
public String getCode()
public void setCode(String code)
code
- The status code of the request.public SpotInstanceStatus withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- The status code of the request.public Date getUpdateTime()
public void setUpdateTime(Date updateTime)
updateTime
- The time of the most recent status update.public SpotInstanceStatus withUpdateTime(Date updateTime)
Returns a reference to this object so that method calls can be chained together.
updateTime
- The time of the most recent status update.public String getMessage()
public void setMessage(String message)
message
- The description for the status code for the Spot request.public SpotInstanceStatus withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- The description for the status code for the Spot request.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.