public VpcConfigResponse withPublicAccessCidrs(String... publicAccessCidrs) {
        if (this.publicAccessCidrs == null) {
            setPublicAccessCidrs(new java.util.ArrayList<String>(publicAccessCidrs.length));
        }
        for (String ele : publicAccessCidrs) {
            this.publicAccessCidrs.add(ele);
        }
        return this;
    }
<p>
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPublicAccessCidrs(java.util.Collection)} or {@link #withPublicAccessCidrs(java.util.Collection)} if
you want to override the existing values.
</p>

@param publicAccessCidrs
       The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
@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/VpcConfigResponse.java