Class KubernetesNetworkConfigResponse
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final IpFamilyipFamily()The IP family used to assign KubernetesPodandServiceobjects IP addresses.final StringThe IP family used to assign KubernetesPodandServiceobjects IP addresses.static Class<? extends KubernetesNetworkConfigResponse.Builder> final StringThe CIDR block that KubernetesPodandServiceobject IP addresses are assigned from.final StringThe 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.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
serviceIpv4Cidr
The CIDR block that Kubernetes
PodandServiceobject IP addresses are assigned from. Kubernetes assigns addresses from anIPv4CIDR 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 the10.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
PodandServiceobject IP addresses are assigned from. Kubernetes assigns addresses from anIPv4CIDR 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 the10.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
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
The IP family used to assign Kubernetes
PodandServiceobjects IP addresses. The IP family is alwaysipv4, unless you have a1.21or later cluster running version1.10.1or later of the Amazon VPC CNI plugin for Kubernetes 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
PodandServiceobjects IP addresses. The IP family is alwaysipv4, unless you have a1.21or later cluster running version1.10.1or later of the Amazon VPC CNI plugin for Kubernetes and specifiedipv6when you created the cluster. - See Also:
-
ipFamilyAsString
The IP family used to assign Kubernetes
PodandServiceobjects IP addresses. The IP family is alwaysipv4, unless you have a1.21or later cluster running version1.10.1or later of the Amazon VPC CNI plugin for Kubernetes 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
PodandServiceobjects IP addresses. The IP family is alwaysipv4, unless you have a1.21or later cluster running version1.10.1or later of the Amazon VPC CNI plugin for Kubernetes and specifiedipv6when you created the cluster. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<KubernetesNetworkConfigResponse.Builder,KubernetesNetworkConfigResponse> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-