public String getOnStackFailure() {
        return this.onStackFailure;
    }
<p>
Determines what action will be taken if stack creation fails. When this parameter is specified, the
<code>DisableRollback</code> parameter to the <a
href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html"
>ExecuteChangeSet</a> API operation must not be specified. This must be one of these values:
</p>
<ul>
<li>
<p>
<code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the
<code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the
status of the stack is <code>DELETE_FAILED</code>.
</p>
</li>
<li>
<p>
<code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying
<code>true</code> for the <code>DisableRollback</code> parameter to the <a
href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html"
>ExecuteChangeSet</a> API operation.
</p>
</li>
<li>
<p>
<code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying
<code>false</code> for the <code>DisableRollback</code> parameter to the <a
href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html"
>ExecuteChangeSet</a> API operation.
</p>
</li>
</ul>

@return Determines what action will be taken if stack creation fails. When this parameter is specified, the
        <code>DisableRollback</code> parameter to the <a
        href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html"
        >ExecuteChangeSet</a> API operation must not be specified. This must be one of these values:</p>
        <ul>
        <li>
        <p>
        <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the
        <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails,
        the status of the stack is <code>DELETE_FAILED</code>.
        </p>
        </li>
        <li>
        <p>
        <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying
        <code>true</code> for the <code>DisableRollback</code> parameter to the <a
        href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html"
        >ExecuteChangeSet</a> API operation.
        </p>
        </li>
        <li>
        <p>
        <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to
        specifying <code>false</code> for the <code>DisableRollback</code> parameter to the <a
        href="https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html"
        >ExecuteChangeSet</a> API operation.
        </p>
        </li>
@see OnStackFailure
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DescribeChangeSetResult.java