public java.util.List<InstanceGroup> getInstanceGroups() {
        if (instanceGroups == null) {
            instanceGroups = new com.amazonaws.internal.SdkInternalList<InstanceGroup>();
        }
        return instanceGroups;
    }
<p>
The list of instance groups for the cluster and given filters.
</p>

@return The list of instance groups for the cluster and given filters.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/ListInstanceGroupsResult.java