Interface VpcConfigResponse.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcConfigResponse.Builder,
,VpcConfigResponse> SdkBuilder<VpcConfigResponse.Builder,
,VpcConfigResponse> SdkPojo
- Enclosing class:
VpcConfigResponse
-
Method Summary
Modifier and TypeMethodDescriptionclusterSecurityGroupId
(String clusterSecurityGroupId) The cluster security group that was created by Amazon EKS for the cluster.endpointPrivateAccess
(Boolean endpointPrivateAccess) This parameter indicates whether the Amazon EKS private API server endpoint is enabled.endpointPublicAccess
(Boolean endpointPublicAccess) Whether the public API server endpoint is enabled.publicAccessCidrs
(String... publicAccessCidrs) The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.publicAccessCidrs
(Collection<String> publicAccessCidrs) The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.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.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.The subnets associated with your cluster.subnetIds
(Collection<String> subnetIds) The subnets associated with your cluster.The VPC associated with your cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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 Cluster API server endpoint 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 thatpublicAccessCidrs
includes the necessary CIDR blocks for communication with the nodes or Fargate pods. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessCidrs
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is
0.0.0.0/0
and additionally::/0
for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and FargatePod
in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .Note that the public endpoints are dual-stack for only
IPv6
clusters that are made after October 2024. You can't addIPv6
CIDR blocks toIPv4
clusters orIPv6
clusters that were made before October 2024.- Parameters:
publicAccessCidrs
- The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is0.0.0.0/0
and additionally::/0
for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and FargatePod
in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .Note that the public endpoints are dual-stack for only
IPv6
clusters that are made after October 2024. You can't addIPv6
CIDR blocks toIPv4
clusters orIPv6
clusters that were made before October 2024.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicAccessCidrs
The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is
0.0.0.0/0
and additionally::/0
for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and FargatePod
in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .Note that the public endpoints are dual-stack for only
IPv6
clusters that are made after October 2024. You can't addIPv6
CIDR blocks toIPv4
clusters orIPv6
clusters that were made before October 2024.- Parameters:
publicAccessCidrs
- The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint. Communication to the endpoint from addresses outside of the CIDR blocks that you specify is denied. The default value is0.0.0.0/0
and additionally::/0
for dual-stack `IPv6` clusters. If you've disabled private endpoint access, make sure that you specify the necessary CIDR blocks for every node and FargatePod
in the cluster. For more information, see Cluster API server endpoint in the Amazon EKS User Guide .Note that the public endpoints are dual-stack for only
IPv6
clusters that are made after October 2024. You can't addIPv6
CIDR blocks toIPv4
clusters orIPv6
clusters that were made before October 2024.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-