public class SpotInstanceStatus extends Object implements Serializable
Constructor and Description |
---|
SpotInstanceStatus() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getCode()
public void setCode(String code)
code
- The new value for the Code property for this object.public SpotInstanceStatus withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- The new value for the Code property for this object.public Date getUpdateTime()
public void setUpdateTime(Date updateTime)
updateTime
- The new value for the UpdateTime property for this object.public SpotInstanceStatus withUpdateTime(Date updateTime)
Returns a reference to this object so that method calls can be chained together.
updateTime
- The new value for the UpdateTime property for this object.public String getMessage()
public void setMessage(String message)
message
- The new value for the Message property for this object.public SpotInstanceStatus withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- The new value for the Message property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.