Class KubeEndpointSliceProps.Jsii$Proxy

    • 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.
    • 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 interface KubeEndpointSliceProps
      • 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 interface KubeEndpointSliceProps
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object