public AutomationExecution withFailureMessage(String failureMessage) {
        setFailureMessage(failureMessage);
        return this;
    }
<p>
A message describing why an execution has failed, if the status is set to Failed.
</p>

@param failureMessage
       A message describing why an execution has failed, if the status is set to Failed.
@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/AutomationExecution.java