Class InstanceGroupStateChangeReason
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.InstanceGroupStateChangeReason
-
- All Implemented Interfaces:
Serializable,Cloneable
public class InstanceGroupStateChangeReason extends Object implements Serializable, Cloneable
The status change reason details for the instance group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstanceGroupStateChangeReason()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupStateChangeReasonclone()booleanequals(Object obj)StringgetCode()The programmable code for the state change reason.StringgetMessage()The status change reason description.inthashCode()voidsetCode(InstanceGroupStateChangeReasonCode 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.InstanceGroupStateChangeReasonwithCode(InstanceGroupStateChangeReasonCode code)The programmable code for the state change reason.InstanceGroupStateChangeReasonwithCode(String code)The programmable code for the state change reason.InstanceGroupStateChangeReasonwithMessage(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:
InstanceGroupStateChangeReasonCode
-
getCode
public String getCode()
The programmable code for the state change reason.
- Returns:
- The programmable code for the state change reason.
- See Also:
InstanceGroupStateChangeReasonCode
-
withCode
public InstanceGroupStateChangeReason 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:
InstanceGroupStateChangeReasonCode
-
setCode
public void setCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason.
- Parameters:
code- The programmable code for the state change reason.- See Also:
InstanceGroupStateChangeReasonCode
-
withCode
public InstanceGroupStateChangeReason withCode(InstanceGroupStateChangeReasonCode 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:
InstanceGroupStateChangeReasonCode
-
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 InstanceGroupStateChangeReason 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 InstanceGroupStateChangeReason clone()
-
-