Interface VpcConfigResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpcConfigResponse.Builder,VpcConfigResponse>,SdkBuilder<VpcConfigResponse.Builder,VpcConfigResponse>,SdkPojo
- Enclosing class:
- VpcConfigResponse
public static interface VpcConfigResponse.Builder extends SdkPojo, CopyableBuilder<VpcConfigResponse.Builder,VpcConfigResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpcConfigResponse.BuilderclusterSecurityGroupId(String clusterSecurityGroupId)The cluster security group that was created by Amazon EKS for the cluster.VpcConfigResponse.BuilderendpointPrivateAccess(Boolean endpointPrivateAccess)This parameter indicates whether the Amazon EKS private API server endpoint is enabled.VpcConfigResponse.BuilderendpointPublicAccess(Boolean endpointPublicAccess)Whether the public API server endpoint is enabled.VpcConfigResponse.BuilderpublicAccessCidrs(String... publicAccessCidrs)The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.VpcConfigResponse.BuilderpublicAccessCidrs(Collection<String> publicAccessCidrs)The CIDR blocks that are allowed access to your cluster's public Kubernetes API server endpoint.VpcConfigResponse.BuildersecurityGroupIds(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.VpcConfigResponse.BuildersecurityGroupIds(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.VpcConfigResponse.BuildersubnetIds(String... subnetIds)The subnets associated with your cluster.VpcConfigResponse.BuildersubnetIds(Collection<String> subnetIds)The subnets associated with your cluster.VpcConfigResponse.BuildervpcId(String vpcId)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, sdkFields
-
-
-
-
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
publicAccessCidrsincludes 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 thatpublicAccessCidrsincludes 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.
-
-