@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelStepsInfo extends Object implements Serializable, Cloneable, StructuredPojo
Specification of the status of a CancelSteps request. Available only in Amazon EMR version 4.8.0 and later, excluding version 5.0.0.
Constructor and Description |
---|
CancelStepsInfo() |
Modifier and Type | Method and Description |
---|---|
CancelStepsInfo |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason for the failure if the CancelSteps request fails.
|
String |
getStatus()
The status of a CancelSteps Request.
|
String |
getStepId()
The encrypted StepId of a step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReason(String reason)
The reason for the failure if the CancelSteps request fails.
|
void |
setStatus(CancelStepsRequestStatus status)
The status of a CancelSteps Request.
|
void |
setStatus(String status)
The status of a CancelSteps Request.
|
void |
setStepId(String stepId)
The encrypted StepId of a step.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CancelStepsInfo |
withReason(String reason)
The reason for the failure if the CancelSteps request fails.
|
CancelStepsInfo |
withStatus(CancelStepsRequestStatus status)
The status of a CancelSteps Request.
|
CancelStepsInfo |
withStatus(String status)
The status of a CancelSteps Request.
|
CancelStepsInfo |
withStepId(String stepId)
The encrypted StepId of a step.
|
public void setStepId(String stepId)
The encrypted StepId of a step.
stepId
- The encrypted StepId of a step.public String getStepId()
The encrypted StepId of a step.
public CancelStepsInfo withStepId(String stepId)
The encrypted StepId of a step.
stepId
- The encrypted StepId of a step.public void setStatus(String status)
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
status
- The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.CancelStepsRequestStatus
public String getStatus()
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
CancelStepsRequestStatus
public CancelStepsInfo withStatus(String status)
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
status
- The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.CancelStepsRequestStatus
public void setStatus(CancelStepsRequestStatus status)
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
status
- The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.CancelStepsRequestStatus
public CancelStepsInfo withStatus(CancelStepsRequestStatus status)
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
status
- The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.CancelStepsRequestStatus
public void setReason(String reason)
The reason for the failure if the CancelSteps request fails.
reason
- The reason for the failure if the CancelSteps request fails.public String getReason()
The reason for the failure if the CancelSteps request fails.
public CancelStepsInfo withReason(String reason)
The reason for the failure if the CancelSteps request fails.
reason
- The reason for the failure if the CancelSteps request fails.public String toString()
toString
in class Object
Object.toString()
public CancelStepsInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.