@Stability(value=Stable) public static final class CfnCluster.KubernetesNetworkConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.KubernetesNetworkConfigProperty>
CfnCluster.KubernetesNetworkConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCluster.KubernetesNetworkConfigProperty |
build()
Builds the configured instance.
|
CfnCluster.KubernetesNetworkConfigProperty.Builder |
ipFamily(String ipFamily)
Sets the value of
CfnCluster.KubernetesNetworkConfigProperty.getIpFamily() |
CfnCluster.KubernetesNetworkConfigProperty.Builder |
serviceIpv4Cidr(String serviceIpv4Cidr)
Sets the value of
CfnCluster.KubernetesNetworkConfigProperty.getServiceIpv4Cidr() |
CfnCluster.KubernetesNetworkConfigProperty.Builder |
serviceIpv6Cidr(String serviceIpv6Cidr)
Sets the value of
CfnCluster.KubernetesNetworkConfigProperty.getServiceIpv6Cidr() |
@Stability(value=Stable) public CfnCluster.KubernetesNetworkConfigProperty.Builder ipFamily(String ipFamily)
CfnCluster.KubernetesNetworkConfigProperty.getIpFamily()ipFamily - `CfnCluster.KubernetesNetworkConfigProperty.IpFamily`.this@Stability(value=Stable) public CfnCluster.KubernetesNetworkConfigProperty.Builder serviceIpv4Cidr(String serviceIpv4Cidr)
CfnCluster.KubernetesNetworkConfigProperty.getServiceIpv4Cidr()serviceIpv4Cidr - The CIDR block to assign Kubernetes service IP addresses from.
If you don't specify a block, Kubernetes assigns addresses from either the 10.100.0.0/16 or 172.20.0.0/16 CIDR 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:
You can only specify a custom CIDR block when you create a cluster and can't change this value once the cluster is created.
this@Stability(value=Stable) public CfnCluster.KubernetesNetworkConfigProperty.Builder serviceIpv6Cidr(String serviceIpv6Cidr)
CfnCluster.KubernetesNetworkConfigProperty.getServiceIpv6Cidr()serviceIpv6Cidr - `CfnCluster.KubernetesNetworkConfigProperty.ServiceIpv6Cidr`.this@Stability(value=Stable) public CfnCluster.KubernetesNetworkConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnCluster.KubernetesNetworkConfigProperty>CfnCluster.KubernetesNetworkConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.