| Modifier and Type | Method and Description |
|---|---|
default ServiceType |
ExposeOptions.getServiceType()
The type of the exposed service.
|
ServiceType |
ExposeOptions.Jsii$Proxy.getServiceType() |
ServiceType |
Service.getType()
Determines how the Service is exposed.
|
default ServiceType |
ServiceProps.getType()
Determines how the Service is exposed.
|
ServiceType |
ServiceProps.Jsii$Proxy.getType() |
static ServiceType |
ServiceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceType[] |
ServiceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ExposeOptions.Builder |
ExposeOptions.Builder.serviceType(ServiceType serviceType)
Sets the value of
ExposeOptions.getServiceType() |
Service.Builder |
Service.Builder.type(ServiceType type)
Determines how the Service is exposed.
|
ServiceProps.Builder |
ServiceProps.Builder.type(ServiceType type)
Sets the value of
ServiceProps.getType() |
| Constructor and Description |
|---|
Jsii$Proxy(String clusterIp,
List<String> externalIPs,
String externalName,
List<String> loadBalancerSourceRanges,
List<? extends ServicePort> ports,
ServiceType type,
org.cdk8s.ApiObjectMetadata metadata)
Constructor that initializes the object based on literal property values passed by the
ServiceProps.Builder. |
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. |
Copyright © 2021. All rights reserved.