|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.SpotInstanceStatus
public class SpotInstanceStatus
Describes a Spot Instance request.
Constructor Summary | |
---|---|
SpotInstanceStatus()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCode()
The status code of the request. |
java.lang.String |
getMessage()
The description for the status code for the Spot request. |
java.util.Date |
getUpdateTime()
The time of the most recent status update. |
int |
hashCode()
|
void |
setCode(java.lang.String code)
The status code of the request. |
void |
setMessage(java.lang.String message)
The description for the status code for the Spot request. |
void |
setUpdateTime(java.util.Date updateTime)
The time of the most recent status update. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotInstanceStatus |
withCode(java.lang.String code)
The status code of the request. |
SpotInstanceStatus |
withMessage(java.lang.String message)
The description for the status code for the Spot request. |
SpotInstanceStatus |
withUpdateTime(java.util.Date updateTime)
The time of the most recent status update. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotInstanceStatus()
Method Detail |
---|
public java.lang.String getCode()
public void setCode(java.lang.String code)
code
- The status code of the request.public SpotInstanceStatus withCode(java.lang.String code)
Returns a reference to this object so that method calls can be chained together.
code
- The status code of the request.
public java.util.Date getUpdateTime()
public void setUpdateTime(java.util.Date updateTime)
updateTime
- The time of the most recent status update.public SpotInstanceStatus withUpdateTime(java.util.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 java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The description for the status code for the Spot request.public SpotInstanceStatus withMessage(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |