public void setFilter(java.util.Collection<String> filter) {
        if (filter == null) {
            this.filter = null;
            return;
        }

        this.filter = new com.amazonaws.internal.SdkInternalList<String>(filter);
    }
<p>
A list of entity types used to filter the results. Only the entities that match the types you specify are
included in the output. Use the value <code>LocalManagedPolicy</code> to include customer managed policies.
</p>
<p>
The format for this parameter is a comma-separated (if more than one) list of strings. Each string value in the
list must be one of the valid values listed below.
</p>

@param filter
       A list of entity types used to filter the results. Only the entities that match the types you specify are
       included in the output. Use the value <code>LocalManagedPolicy</code> to include customer managed
       policies.</p>
       <p>
       The format for this parameter is a comma-separated (if more than one) list of strings. Each string value
       in the list must be one of the valid values listed below.
@see EntityType
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/GetAccountAuthorizationDetailsRequest.java