@Stability(value=Experimental) public static final class ServiceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServiceProps
ServicePropssoftware.amazon.jsii.JsiiObject.InitializationModeServiceProps.Builder, ServiceProps.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.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getClusterIp()
(experimental) The IP address of the service and is usually assigned randomly by the master.
|
List<String> |
getExternalIPs()
(experimental) A list of IP addresses for which nodes in the cluster will also accept traffic for this service.
|
ApiObjectMetadata |
getMetadata()
(experimental) Metadata that all persisted resources must have, which includes all objects users must create.
|
List<ServicePort> |
getPorts()
(experimental) The port exposed by this service.
|
ServiceType |
getType()
(experimental) Determines how the Service is exposed.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public String getClusterIp()
ServicePropsIf an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are "None", empty string (""), or a valid IP address. "None" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName.
Default: - Automatically assigned.
getClusterIp in interface ServicePropshttps://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxiespublic List<String> getExternalIPs()
ServicePropsThese IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers that are not part of the Kubernetes system.
Default: - No external IPs.
getExternalIPs in interface ServicePropspublic List<ServicePort> getPorts()
ServicePropsMore info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
getPorts in interface ServicePropspublic ServiceType getType()
ServicePropsMore info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
Default: ServiceType.ClusterIP
getType in interface ServicePropspublic ApiObjectMetadata getMetadata()
ResourcePropsgetMetadata in interface ResourcePropspublic com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.