public ListContactsFilter withFilteredStatus(SubscriptionStatus filteredStatus) {
        this.filteredStatus = filteredStatus.toString();
        return this;
    }
<p>
The status by which you are filtering: <code>OPT_IN</code> or <code>OPT_OUT</code>.
</p>

@param filteredStatus
       The status by which you are filtering: <code>OPT_IN</code> or <code>OPT_OUT</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see SubscriptionStatus
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/ListContactsFilter.java