@Stability(value=Stable) @Internal public static final class ExposeDeploymentViaServiceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ExposeDeploymentViaServiceOptions
ExposeDeploymentViaServiceOptionssoftware.amazon.jsii.JsiiObject.InitializationModeExposeDeploymentViaServiceOptions.Builder, ExposeDeploymentViaServiceOptions.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,
Number port,
Protocol protocol,
ServiceType serviceType,
Number targetPort)
Constructor that initializes the object based on literal property values passed by the
ExposeDeploymentViaServiceOptions.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.
|
Number |
getPort()
The port that the service should serve on.
|
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, Number port, Protocol protocol, ServiceType serviceType, Number targetPort)
ExposeDeploymentViaServiceOptions.Builder.public final String getName()
ExposeDeploymentViaServiceOptionsThis will be set on the Service.metadata and must be a DNS_LABEL
Default: undefined Uses the system generated name.
getName in interface ExposeDeploymentViaServiceOptionspublic final Number getPort()
ExposeDeploymentViaServiceOptionsDefault: - Copied from the container of the deployment. If a port could not be determined, throws an error.
getPort in interface ExposeDeploymentViaServiceOptionspublic final Protocol getProtocol()
ExposeDeploymentViaServiceOptionsSupports "TCP", "UDP", and "SCTP". Default is TCP.
Default: Protocol.TCP
getProtocol in interface ExposeDeploymentViaServiceOptionspublic final ServiceType getServiceType()
ExposeDeploymentViaServiceOptionsDefault: - ClusterIP.
getServiceType in interface ExposeDeploymentViaServiceOptionspublic final Number getTargetPort()
ExposeDeploymentViaServiceOptionsDefault: - The port of the first container in the deployment (ie. containers[0].port)
getTargetPort in interface ExposeDeploymentViaServiceOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.