public void setState(String state) {
        this.state = state;
    }
<p>
Filters only resource with the provided state.
</p>

@param state
       Filters only resource with the provided state.
@see EntityState
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/ListResourcesFilters.java