Class KubernetesNetworkConfigResponse
- java.lang.Object
-
- software.amazon.awssdk.services.eks.model.KubernetesNetworkConfigResponse
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<KubernetesNetworkConfigResponse.Builder,KubernetesNetworkConfigResponse>
@Generated("software.amazon.awssdk:codegen") public final class KubernetesNetworkConfigResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KubernetesNetworkConfigResponse.Builder,KubernetesNetworkConfigResponse>
The Kubernetes network configuration for the cluster. The response contains a value for serviceIpv6Cidr or serviceIpv4Cidr, but not both.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceKubernetesNetworkConfigResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KubernetesNetworkConfigResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IpFamilyipFamily()The IP family used to assign Kubernetes pod and service IP addresses.StringipFamilyAsString()The IP family used to assign Kubernetes pod and service IP addresses.List<SdkField<?>>sdkFields()static Class<? extends KubernetesNetworkConfigResponse.Builder>serializableBuilderClass()StringserviceIpv4Cidr()The CIDR block that Kubernetes pod and service IP addresses are assigned from.StringserviceIpv6Cidr()The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specifiedipv6for ipFamily when you created the cluster.KubernetesNetworkConfigResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
serviceIpv4Cidr
public final String serviceIpv4Cidr()
The CIDR block that Kubernetes pod and service IP addresses are assigned from. Kubernetes assigns addresses from an IPv4 CIDR block assigned to a subnet that the node is in. If you didn't specify a CIDR block when you created the cluster, then Kubernetes assigns addresses from either the
10.100.0.0/16or172.20.0.0/16CIDR blocks. If this was specified, then it was specified when the cluster was created and it can't be changed.- Returns:
- The CIDR block that Kubernetes pod and service IP addresses are assigned from. Kubernetes assigns
addresses from an IPv4 CIDR block assigned to a subnet that the node is in. If you didn't specify a CIDR
block when you created the cluster, then Kubernetes assigns addresses from either the
10.100.0.0/16or172.20.0.0/16CIDR blocks. If this was specified, then it was specified when the cluster was created and it can't be changed.
-
serviceIpv6Cidr
public final String serviceIpv6Cidr()
The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specified
ipv6for ipFamily when you created the cluster. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.- Returns:
- The CIDR block that Kubernetes pod and service IP addresses are assigned from if you created a 1.21 or
later cluster with version 1.10.1 or later of the Amazon VPC CNI add-on and specified
ipv6for ipFamily when you created the cluster. Kubernetes assigns service addresses from the unique local address range (fc00::/7) because you can't specify a custom IPv6 CIDR block when you create the cluster.
-
ipFamily
public final IpFamily ipFamily()
The IP family used to assign Kubernetes pod and service IP addresses. The IP family is always
ipv4, unless you have a1.21or later cluster running version 1.10.1 or later of the Amazon VPC CNI add-on and specifiedipv6when you created the cluster.If the service returns an enum value that is not available in the current SDK version,
ipFamilywill returnIpFamily.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipFamilyAsString().- Returns:
- The IP family used to assign Kubernetes pod and service IP addresses. The IP family is always
ipv4, unless you have a1.21or later cluster running version 1.10.1 or later of the Amazon VPC CNI add-on and specifiedipv6when you created the cluster. - See Also:
IpFamily
-
ipFamilyAsString
public final String ipFamilyAsString()
The IP family used to assign Kubernetes pod and service IP addresses. The IP family is always
ipv4, unless you have a1.21or later cluster running version 1.10.1 or later of the Amazon VPC CNI add-on and specifiedipv6when you created the cluster.If the service returns an enum value that is not available in the current SDK version,
ipFamilywill returnIpFamily.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipFamilyAsString().- Returns:
- The IP family used to assign Kubernetes pod and service IP addresses. The IP family is always
ipv4, unless you have a1.21or later cluster running version 1.10.1 or later of the Amazon VPC CNI add-on and specifiedipv6when you created the cluster. - See Also:
IpFamily
-
toBuilder
public KubernetesNetworkConfigResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<KubernetesNetworkConfigResponse.Builder,KubernetesNetworkConfigResponse>
-
builder
public static KubernetesNetworkConfigResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends KubernetesNetworkConfigResponse.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-