Class EndpointPortV1Beta1.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.EndpointPortV1Beta1.Jsii$Proxy
-
- All Implemented Interfaces:
EndpointPortV1Beta1,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- EndpointPortV1Beta1
@Stability(Stable) @Internal public static final class EndpointPortV1Beta1.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements EndpointPortV1Beta1
An implementation forEndpointPortV1Beta1
-
-
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.plus24.k8s.EndpointPortV1Beta1
EndpointPortV1Beta1.Builder, EndpointPortV1Beta1.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(EndpointPortV1Beta1.Builder builder)Constructor that initializes the object based on literal property values passed by theEndpointPortV1Beta1.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)StringgetAppProtocol()The application protocol for this port.StringgetName()The name of this port.NumbergetPort()The port number of the endpoint.StringgetProtocol()The IP protocol for this port.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(EndpointPortV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theEndpointPortV1Beta1.Builder.
-
-
Method Detail
-
getAppProtocol
public final String getAppProtocol()
Description copied from interface:EndpointPortV1Beta1The application protocol for this port.This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol.
- Specified by:
getAppProtocolin interfaceEndpointPortV1Beta1
-
getName
public final String getName()
Description copied from interface:EndpointPortV1Beta1The name of this port.All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.
Default: empty string.
- Specified by:
getNamein interfaceEndpointPortV1Beta1
-
getPort
public final Number getPort()
Description copied from interface:EndpointPortV1Beta1The port number of the endpoint.If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.
- Specified by:
getPortin interfaceEndpointPortV1Beta1
-
getProtocol
public final String getProtocol()
Description copied from interface:EndpointPortV1Beta1The IP protocol for this port.Must be UDP, TCP, or SCTP. Default is TCP.
Default: TCP.
- Specified by:
getProtocolin interfaceEndpointPortV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-