Package org.cdk8s.plus23.k8s
Class KubeEndpointSliceProps.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus23.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.plus23.k8s.KubeEndpointSliceProps
KubeEndpointSliceProps.Builder, KubeEndpointSliceProps.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(KubeEndpointSliceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by theKubeEndpointSliceProps.Builder
.protected
Jsii$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()
boolean
equals(Object o)
IoK8SApiDiscoveryV1EndpointSliceAddressType
getAddressType()
addressType specifies the type of address carried by this EndpointSlice.List<Endpoint>
getEndpoints()
endpoints is a list of unique endpoints in this slice.ObjectMeta
getMetadata()
Standard object's metadata.List<EndpointPort>
getPorts()
ports specifies the list of network ports exposed by each endpoint in this slice.int
hashCode()
-
-
-
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 IoK8SApiDiscoveryV1EndpointSliceAddressType getAddressType()
Description copied from interface:KubeEndpointSliceProps
addressType 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.
Possible enum values:
"FQDN"
represents a FQDN."IPv4"
represents an IPv4 Address."IPv6"
represents an IPv6 Address.
- Specified by:
getAddressType
in interfaceKubeEndpointSliceProps
-
getEndpoints
public final List<Endpoint> getEndpoints()
Description copied from interface:KubeEndpointSliceProps
endpoints is a list of unique endpoints in this slice.Each slice may include a maximum of 1000 endpoints.
- Specified by:
getEndpoints
in interfaceKubeEndpointSliceProps
-
getMetadata
public final ObjectMeta getMetadata()
Description copied from interface:KubeEndpointSliceProps
Standard object's metadata.- Specified by:
getMetadata
in interfaceKubeEndpointSliceProps
-
getPorts
public final List<EndpointPort> getPorts()
Description copied from interface:KubeEndpointSliceProps
ports 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:
getPorts
in interfaceKubeEndpointSliceProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-