public class SpotInstanceStateFault extends Object implements Serializable
Constructor and Description |
---|
SpotInstanceStateFault() |
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.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SpotInstanceStateFault |
withCode(String code)
Sets the value of the Code property for this object.
|
SpotInstanceStateFault |
withMessage(String message)
Sets the value of the Message property for this object.
|
public String getCode()
public void setCode(String code)
code
- The new value for the Code property for this object.public SpotInstanceStateFault 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 String getMessage()
public void setMessage(String message)
message
- The new value for the Message property for this object.public SpotInstanceStateFault 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.