public InsightsFilter withKubernetesVersions(java.util.Collection<String> kubernetesVersions) {
        setKubernetesVersions(kubernetesVersions);
        return this;
    }
<p>
The Kubernetes versions to use to filter the insights.
</p>

@param kubernetesVersions
       The Kubernetes versions to use to filter the insights.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/InsightsFilter.java