public AutomationRulesFindingFieldsUpdate withConfidence(Integer confidence) {
        setConfidence(confidence);
        return this;
    }
<p>
The rule action updates the <code>Confidence</code> field of a finding.
</p>

@param confidence
       The rule action updates the <code>Confidence</code> field of a finding.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AutomationRulesFindingFieldsUpdate.java