Package com.amazonaws.services.ec2.model
Class SpotInstanceStateFault
java.lang.Object
com.amazonaws.services.ec2.model.SpotInstanceStateFault
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a Spot instance state change.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The reason code for the Spot instance state change.The message for the Spot instance state change.int
hashCode()
void
The reason code for the Spot instance state change.void
setMessage
(String message) The message for the Spot instance state change.toString()
Returns a string representation of this object; useful for testing and debugging.The reason code for the Spot instance state change.withMessage
(String message) The message for the Spot instance state change.
-
Constructor Details
-
SpotInstanceStateFault
public SpotInstanceStateFault()
-
-
Method Details
-
setCode
The reason code for the Spot instance state change.
- Parameters:
code
- The reason code for the Spot instance state change.
-
getCode
The reason code for the Spot instance state change.
- Returns:
- The reason code for the Spot instance state change.
-
withCode
The reason code for the Spot instance state change.
- Parameters:
code
- The reason code for the Spot instance state change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
The message for the Spot instance state change.
- Parameters:
message
- The message for the Spot instance state change.
-
getMessage
The message for the Spot instance state change.
- Returns:
- The message for the Spot instance state change.
-
withMessage
The message for the Spot instance state change.
- Parameters:
message
- The message for the Spot instance state change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-