public CreateRuleRequest withOutcomes(java.util.Collection<String> outcomes) {
        setOutcomes(outcomes);
        return this;
    }
<p>
The outcome or outcomes returned when the rule expression matches.
</p>

@param outcomes
       The outcome or outcomes returned when the rule expression matches.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/CreateRuleRequest.java