Class InstanceStateChangeReason
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.InstanceStateChangeReason
-
- All Implemented Interfaces:
Serializable,Cloneable
public class InstanceStateChangeReason extends Object implements Serializable, Cloneable
The details of the status change reason for the instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceStateChangeReason()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceStateChangeReasonclone()booleanequals(Object obj)StringgetCode()The programmable code for the state change reason.StringgetMessage()The status change reason description.inthashCode()voidsetCode(InstanceStateChangeReasonCode code)The programmable code for the state change reason.voidsetCode(String code)The programmable code for the state change reason.voidsetMessage(String message)The status change reason description.StringtoString()Returns a string representation of this object; useful for testing and debugging.InstanceStateChangeReasonwithCode(InstanceStateChangeReasonCode code)The programmable code for the state change reason.InstanceStateChangeReasonwithCode(String code)The programmable code for the state change reason.InstanceStateChangeReasonwithMessage(String message)The status change reason description.
-
-
-
Method Detail
-
setCode
public void setCode(String code)
The programmable code for the state change reason.
- Parameters:
code- The programmable code for the state change reason.- See Also:
InstanceStateChangeReasonCode
-
getCode
public String getCode()
The programmable code for the state change reason.
- Returns:
- The programmable code for the state change reason.
- See Also:
InstanceStateChangeReasonCode
-
withCode
public InstanceStateChangeReason withCode(String code)
The programmable code for the state change reason.
- Parameters:
code- The programmable code for the state change reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceStateChangeReasonCode
-
setCode
public void setCode(InstanceStateChangeReasonCode code)
The programmable code for the state change reason.
- Parameters:
code- The programmable code for the state change reason.- See Also:
InstanceStateChangeReasonCode
-
withCode
public InstanceStateChangeReason withCode(InstanceStateChangeReasonCode code)
The programmable code for the state change reason.
- Parameters:
code- The programmable code for the state change reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InstanceStateChangeReasonCode
-
setMessage
public void setMessage(String message)
The status change reason description.
- Parameters:
message- The status change reason description.
-
getMessage
public String getMessage()
The status change reason description.
- Returns:
- The status change reason description.
-
withMessage
public InstanceStateChangeReason withMessage(String message)
The status change reason description.
- Parameters:
message- The status change reason description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceStateChangeReason clone()
-
-