@Stability(value=Stable) @Internal public static final class AddDeploymentOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements AddDeploymentOptions
AddDeploymentOptionssoftware.amazon.jsii.JsiiObject.InitializationModeAddDeploymentOptions.Builder, AddDeploymentOptions.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(Number port,
String name,
Number nodePort,
Protocol protocol,
Number targetPort)
Constructor that initializes the object based on literal property values passed by the
AddDeploymentOptions.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getName()
The name of this port within the service.
|
Number |
getNodePort()
The port on each node on which this service is exposed when type=NodePort or LoadBalancer.
|
Number |
getPort()
The port number the service will bind to.
|
Protocol |
getProtocol()
The IP protocol for this port.
|
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.public final Number getPort()
AddDeploymentOptionsDefault: - Copied from the first container of the deployment.
getPort in interface AddDeploymentOptionspublic final String getName()
ServicePortOptionsThis must be a DNS_LABEL. All ports within a ServiceSpec must have unique names. This maps to the 'Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.
getName in interface ServicePortOptionspublic final Number getNodePort()
ServicePortOptionsUsually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port if the ServiceType of this Service requires one.
Default: - auto-allocate a port if the ServiceType of this Service requires one.
getNodePort in interface ServicePortOptionshttps://kubernetes.io/docs/concepts/services-networking/service/#type-nodeportpublic final Protocol getProtocol()
ServicePortOptionsSupports "TCP", "UDP", and "SCTP". Default is TCP.
Default: Protocol.TCP
getProtocol in interface ServicePortOptionspublic final Number getTargetPort()
ServicePortOptionsDefault: - The value of `port` will be used.
getTargetPort in interface ServicePortOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.