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 protected
Jsii$Proxy(EndpointPortV1Beta1.Builder builder)
Constructor that initializes the object based on literal property values passed by theEndpointPortV1Beta1.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)
String
getAppProtocol()
The application protocol for this port.String
getName()
The name of this port.Number
getPort()
The port number of the endpoint.String
getProtocol()
The IP protocol for this port.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(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:EndpointPortV1Beta1
The 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:
getAppProtocol
in interfaceEndpointPortV1Beta1
-
getName
public final String getName()
Description copied from interface:EndpointPortV1Beta1
The 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:
getName
in interfaceEndpointPortV1Beta1
-
getPort
public final Number getPort()
Description copied from interface:EndpointPortV1Beta1
The 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:
getPort
in interfaceEndpointPortV1Beta1
-
getProtocol
public final String getProtocol()
Description copied from interface:EndpointPortV1Beta1
The IP protocol for this port.Must be UDP, TCP, or SCTP. Default is TCP.
Default: TCP.
- Specified by:
getProtocol
in interfaceEndpointPortV1Beta1
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-