Interface VpcConfigResponse.Builder

    • Method Detail

      • subnetIds

        VpcConfigResponse.Builder subnetIds​(Collection<String> subnetIds)

        The subnets associated with your cluster.

        Parameters:
        subnetIds - The subnets associated with your cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetIds

        VpcConfigResponse.Builder subnetIds​(String... subnetIds)

        The subnets associated with your cluster.

        Parameters:
        subnetIds - The subnets associated with your cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        VpcConfigResponse.Builder securityGroupIds​(Collection<String> securityGroupIds)

        The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.

        Parameters:
        securityGroupIds - The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        VpcConfigResponse.Builder securityGroupIds​(String... securityGroupIds)

        The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.

        Parameters:
        securityGroupIds - The security groups associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Kubernetes control plane.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clusterSecurityGroupId

        VpcConfigResponse.Builder clusterSecurityGroupId​(String clusterSecurityGroupId)

        The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.

        Parameters:
        clusterSecurityGroupId - The cluster security group that was created by Amazon EKS for the cluster. Managed node groups use this security group for control-plane-to-data-plane communication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        VpcConfigResponse.Builder vpcId​(String vpcId)

        The VPC associated with your cluster.

        Parameters:
        vpcId - The VPC associated with your cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointPublicAccess

        VpcConfigResponse.Builder endpointPublicAccess​(Boolean endpointPublicAccess)

        Whether the public API server endpoint is enabled.

        Parameters:
        endpointPublicAccess - Whether the public API server endpoint is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • endpointPrivateAccess

        VpcConfigResponse.Builder endpointPrivateAccess​(Boolean endpointPrivateAccess)

        This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet. If this value is disabled and you have nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .

        Parameters:
        endpointPrivateAccess - This parameter indicates whether the Amazon EKS private API server endpoint is enabled. If the Amazon EKS private API server endpoint is enabled, Kubernetes API requests that originate from within your cluster's VPC use the private VPC endpoint instead of traversing the internet. If this value is disabled and you have nodes or Fargate pods in the cluster, then ensure that publicAccessCidrs includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Amazon EKS cluster endpoint access control in the Amazon EKS User Guide .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicAccessCidrs

        VpcConfigResponse.Builder publicAccessCidrs​(Collection<String> publicAccessCidrs)

        The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.

        Parameters:
        publicAccessCidrs - The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • publicAccessCidrs

        VpcConfigResponse.Builder publicAccessCidrs​(String... publicAccessCidrs)

        The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.

        Parameters:
        publicAccessCidrs - The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.
        Returns:
        Returns a reference to this object so that method calls can be chained together.