public java.util.List<String> getStates() {
        return states;
    }
<p>
An optional filter for application states. Note that if this filter contains multiple states, the resulting list
will be grouped by the state.
</p>

@return An optional filter for application states. Note that if this filter contains multiple states, the
        resulting list will be grouped by the state.
@see ApplicationState
aws-java-sdk-emrserverless/src/main/java/com/amazonaws/services/emrserverless/model/ListApplicationsRequest.java