Package org.cdk8s.plus25.k8s
Class KubeEndpointSliceProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.KubeEndpointSliceProps.Jsii$Proxy
-
- All Implemented Interfaces:
KubeEndpointSliceProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- KubeEndpointSliceProps
@Stability(Stable) @Internal public static final class KubeEndpointSliceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements KubeEndpointSliceProps
An implementation forKubeEndpointSliceProps
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.KubeEndpointSliceProps
KubeEndpointSliceProps.Builder, KubeEndpointSliceProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(KubeEndpointSliceProps.Builder builder)Constructor that initializes the object based on literal property values passed by theKubeEndpointSliceProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetAddressType()addressType specifies the type of address carried by this EndpointSlice.List<Endpoint>getEndpoints()endpoints is a list of unique endpoints in this slice.ObjectMetagetMetadata()Standard object's metadata.List<EndpointPort>getPorts()ports specifies the list of network ports exposed by each endpoint in this slice.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(KubeEndpointSliceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theKubeEndpointSliceProps.Builder.
-
-
Method Detail
-
getAddressType
public final String getAddressType()
Description copied from interface:KubeEndpointSlicePropsaddressType specifies the type of address carried by this EndpointSlice.All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.
- Specified by:
getAddressTypein interfaceKubeEndpointSliceProps
-
getEndpoints
public final List<Endpoint> getEndpoints()
Description copied from interface:KubeEndpointSlicePropsendpoints is a list of unique endpoints in this slice.Each slice may include a maximum of 1000 endpoints.
- Specified by:
getEndpointsin interfaceKubeEndpointSliceProps
-
getMetadata
public final ObjectMeta getMetadata()
Description copied from interface:KubeEndpointSlicePropsStandard object's metadata.- Specified by:
getMetadatain interfaceKubeEndpointSliceProps
-
getPorts
public final List<EndpointPort> getPorts()
Description copied from interface:KubeEndpointSlicePropsports specifies the list of network ports exposed by each endpoint in this slice.Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates "all ports". Each slice may include a maximum of 100 ports.
- Specified by:
getPortsin interfaceKubeEndpointSliceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-