com.amazonaws.services.elasticmapreduce.model
Class StepStateChangeReason

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.StepStateChangeReason
All Implemented Interfaces:
Serializable

public class StepStateChangeReason
extends Object
implements Serializable

The details of the step state change reason.

See Also:
Serialized Form

Constructor Summary
StepStateChangeReason()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCode()
          The programmable code for the state change reason.
 String getMessage()
          The descriptive message for the state change reason.
 int hashCode()
           
 void setCode(StepStateChangeReasonCode 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 descriptive message for the state change reason.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 StepStateChangeReason withCode(StepStateChangeReasonCode code)
          The programmable code for the state change reason.
 StepStateChangeReason withCode(String code)
          The programmable code for the state change reason.
 StepStateChangeReason withMessage(String message)
          The descriptive message for the state change reason.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepStateChangeReason

public StepStateChangeReason()
Method Detail

getCode

public String getCode()
The programmable code for the state change reason.

Constraints:
Allowed Values: NONE

Returns:
The programmable code for the state change reason.
See Also:
StepStateChangeReasonCode

setCode

public void setCode(String code)
The programmable code for the state change reason.

Constraints:
Allowed Values: NONE

Parameters:
code - The programmable code for the state change reason.
See Also:
StepStateChangeReasonCode

withCode

public StepStateChangeReason withCode(String code)
The programmable code for the state change reason.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: NONE

Parameters:
code - The programmable code for the state change reason.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
StepStateChangeReasonCode

setCode

public void setCode(StepStateChangeReasonCode code)
The programmable code for the state change reason.

Constraints:
Allowed Values: NONE

Parameters:
code - The programmable code for the state change reason.
See Also:
StepStateChangeReasonCode

withCode

public StepStateChangeReason withCode(StepStateChangeReasonCode code)
The programmable code for the state change reason.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: NONE

Parameters:
code - The programmable code for the state change reason.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
StepStateChangeReasonCode

getMessage

public String getMessage()
The descriptive message for the state change reason.

Returns:
The descriptive message for the state change reason.

setMessage

public void setMessage(String message)
The descriptive message for the state change reason.

Parameters:
message - The descriptive message for the state change reason.

withMessage

public StepStateChangeReason withMessage(String message)
The descriptive message for the state change reason.

Returns a reference to this object so that method calls can be chained together.

Parameters:
message - The descriptive message for the state change reason.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.