@Stability(value=Stable) @Internal public static final class ExposeOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ExposeOptions
ExposeOptionssoftware.amazon.jsii.JsiiObject.InitializationModeExposeOptions.Builder, ExposeOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String name,
Protocol protocol,
ServiceType serviceType,
Number targetPort)
Constructor that initializes the object based on literal property values passed by the
ExposeOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getName()
The name of the service to expose.
|
Protocol |
getProtocol()
The IP protocol for this port.
|
ServiceType |
getServiceType()
The type of the exposed service.
|
Number |
getTargetPort()
The port number the service will redirect to.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String name, Protocol protocol, ServiceType serviceType, Number targetPort)
ExposeOptions.Builder.public final String getName()
ExposeOptionsThis will be set on the Service.metadata and must be a DNS_LABEL
Default: undefined Uses the system generated name.
getName in interface ExposeOptionspublic final Protocol getProtocol()
ExposeOptionsSupports "TCP", "UDP", and "SCTP". Default is TCP.
Default: Protocol.TCP
getProtocol in interface ExposeOptionspublic final ServiceType getServiceType()
ExposeOptionsDefault: - ClusterIP.
getServiceType in interface ExposeOptionspublic final Number getTargetPort()
ExposeOptionsDefault: - The port of the first container in the deployment (ie. containers[0].port)
getTargetPort in interface ExposeOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.