public AcceptPredictionsRequest withAcceptRule(AcceptRule acceptRule) {
        setAcceptRule(acceptRule);
        return this;
    }
<p>
Specifies the rule (or the conditions) under which a prediction can be accepted.
</p>

@param acceptRule
       Specifies the rule (or the conditions) under which a prediction can be accepted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/AcceptPredictionsRequest.java