public FailureDetails withFailureStage(String failureStage) {
        setFailureStage(failureStage);
        return this;
    }
<p>
The stage of the Automation execution when the failure occurred. The stages include the following:
InputValidation, PreVerification, Invocation, PostVerification.
</p>

@param failureStage
       The stage of the Automation execution when the failure occurred. The stages include the following:
       InputValidation, PreVerification, Invocation, PostVerification.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/FailureDetails.java