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 InstanceGroupStateChangeReason
clone()
boolean
equals(Object obj)
String
getCode()
The programmable code for the state change reason.String
getMessage()
The status change reason description.int
hashCode()
void
setCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason.void
setCode(String code)
The programmable code for the state change reason.void
setMessage(String message)
The status change reason description.String
toString()
Returns a string representation of this object; useful for testing and debugging.InstanceGroupStateChangeReason
withCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason.InstanceGroupStateChangeReason
withCode(String code)
The programmable code for the state change reason.InstanceGroupStateChangeReason
withMessage(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public InstanceGroupStateChangeReason clone()
-
-