public IoTJobAbortCriteria withThresholdPercentage(Double thresholdPercentage) {
        setThresholdPercentage(thresholdPercentage);
        return this;
    }
<p>
The minimum percentage of <code>failureType</code> failures that occur before the job can cancel.
</p>
<p>
This parameter supports up to two digits after the decimal (for example, you can specify <code>10.9</code> or
<code>10.99</code>, but not <code>10.999</code>).
</p>

@param thresholdPercentage
       The minimum percentage of <code>failureType</code> failures that occur before the job can cancel.</p>
       <p>
       This parameter supports up to two digits after the decimal (for example, you can specify <code>10.9</code>
       or <code>10.99</code>, but not <code>10.999</code>).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrassv2/src/main/java/com/amazonaws/services/greengrassv2/model/IoTJobAbortCriteria.java