public CreateFilterRequest withRank(Integer rank) {
        setRank(rank);
        return this;
    }
<p>
Specifies the position of the filter in the list of current filters. Also specifies the order in which this
filter is applied to the findings.
</p>

@param rank
       Specifies the position of the filter in the list of current filters. Also specifies the order in which
       this filter is applied to the findings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/CreateFilterRequest.java