Interface KubernetesNetworkConfigRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KubernetesNetworkConfigRequest.Builder,KubernetesNetworkConfigRequest>,SdkBuilder<KubernetesNetworkConfigRequest.Builder,KubernetesNetworkConfigRequest>,SdkPojo
- Enclosing class:
- KubernetesNetworkConfigRequest
public static interface KubernetesNetworkConfigRequest.Builder extends SdkPojo, CopyableBuilder<KubernetesNetworkConfigRequest.Builder,KubernetesNetworkConfigRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default KubernetesNetworkConfigRequest.BuilderelasticLoadBalancing(Consumer<ElasticLoadBalancing.Builder> elasticLoadBalancing)Request to enable or disable the load balancing capability on your EKS Auto Mode cluster.KubernetesNetworkConfigRequest.BuilderelasticLoadBalancing(ElasticLoadBalancing elasticLoadBalancing)Request to enable or disable the load balancing capability on your EKS Auto Mode cluster.KubernetesNetworkConfigRequest.BuilderipFamily(String ipFamily)Specify which IP family is used to assign Kubernetes pod and service IP addresses.KubernetesNetworkConfigRequest.BuilderipFamily(IpFamily ipFamily)Specify which IP family is used to assign Kubernetes pod and service IP addresses.KubernetesNetworkConfigRequest.BuilderserviceIpv4Cidr(String serviceIpv4Cidr)Don't specify a value if you selectipv6for ipFamily.-
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 Detail
-
serviceIpv4Cidr
KubernetesNetworkConfigRequest.Builder serviceIpv4Cidr(String serviceIpv4Cidr)
Don't specify a value if you select
ipv6for ipFamily. The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the10.100.0.0/16or172.20.0.0/16CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:-
Within one of the following private IP address blocks:
10.0.0.0/8,172.16.0.0/12, or192.168.0.0/16. -
Doesn't overlap with any CIDR block assigned to the VPC that you selected for VPC.
-
Between
/24and/12.
You can only specify a custom CIDR block when you create a cluster. You can't change this value after the cluster is created.
- Parameters:
serviceIpv4Cidr- Don't specify a value if you selectipv6for ipFamily. The CIDR block to assign Kubernetes service IP addresses from. If you don't specify a block, Kubernetes assigns addresses from either the10.100.0.0/16or172.20.0.0/16CIDR blocks. We recommend that you specify a block that does not overlap with resources in other networks that are peered or connected to your VPC. The block must meet the following requirements:-
Within one of the following private IP address blocks:
10.0.0.0/8,172.16.0.0/12, or192.168.0.0/16. -
Doesn't overlap with any CIDR block assigned to the VPC that you selected for VPC.
-
Between
/24and/12.
You can only specify a custom CIDR block when you create a cluster. You can't change this value after the cluster is created.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
ipFamily
KubernetesNetworkConfigRequest.Builder ipFamily(String ipFamily)
Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value,
ipv4is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR.- Parameters:
ipFamily- Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value,ipv4is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpFamily,IpFamily
-
ipFamily
KubernetesNetworkConfigRequest.Builder ipFamily(IpFamily ipFamily)
Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value,
ipv4is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR.- Parameters:
ipFamily- Specify which IP family is used to assign Kubernetes pod and service IP addresses. If you don't specify a value,ipv4is used by default. You can only specify an IP family when you create a cluster and can't change this value once the cluster is created. If you specifyipv6, the VPC and subnets that you specify for cluster creation must have bothIPv4andIPv6CIDR blocks assigned to them. You can't specifyipv6for clusters in China Regions.You can only specify
ipv6for1.21and later clusters that use version1.10.1or later of the Amazon VPC CNI add-on. If you specifyipv6, then ensure that your VPC meets the requirements listed in the considerations listed in Assigning IPv6 addresses to pods and services in the Amazon EKS User Guide. Kubernetes assigns servicesIPv6addresses from the unique local address range(fc00::/7). You can't specify a customIPv6CIDR block. Pod addresses are assigned from the subnet'sIPv6CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpFamily,IpFamily
-
elasticLoadBalancing
KubernetesNetworkConfigRequest.Builder elasticLoadBalancing(ElasticLoadBalancing elasticLoadBalancing)
Request to enable or disable the load balancing capability on your EKS Auto Mode cluster. For more information, see EKS Auto Mode load balancing capability in the EKS User Guide.
- Parameters:
elasticLoadBalancing- Request to enable or disable the load balancing capability on your EKS Auto Mode cluster. For more information, see EKS Auto Mode load balancing capability in the EKS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elasticLoadBalancing
default KubernetesNetworkConfigRequest.Builder elasticLoadBalancing(Consumer<ElasticLoadBalancing.Builder> elasticLoadBalancing)
Request to enable or disable the load balancing capability on your EKS Auto Mode cluster. For more information, see EKS Auto Mode load balancing capability in the EKS User Guide.
This is a convenience method that creates an instance of theElasticLoadBalancing.Builderavoiding the need to create one manually viaElasticLoadBalancing.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toelasticLoadBalancing(ElasticLoadBalancing).- Parameters:
elasticLoadBalancing- a consumer that will call methods onElasticLoadBalancing.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
elasticLoadBalancing(ElasticLoadBalancing)
-
-