Package org.cdk8s.plus22
Class DeploymentExposeViaServiceOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus22.DeploymentExposeViaServiceOptions.Jsii$Proxy
-
- All Implemented Interfaces:
DeploymentExposeViaServiceOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- DeploymentExposeViaServiceOptions
@Stability(Stable) @Internal public static final class DeploymentExposeViaServiceOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements DeploymentExposeViaServiceOptions
An implementation forDeploymentExposeViaServiceOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus22.DeploymentExposeViaServiceOptions
DeploymentExposeViaServiceOptions.Builder, DeploymentExposeViaServiceOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(DeploymentExposeViaServiceOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theDeploymentExposeViaServiceOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetName()The name of the service to expose.List<ServicePort>getPorts()The ports that the service should bind to.ServiceTypegetServiceType()The type of the exposed service.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(DeploymentExposeViaServiceOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theDeploymentExposeViaServiceOptions.Builder.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:DeploymentExposeViaServiceOptionsThe name of the service to expose.If you'd like to expose the deployment multiple times, you must explicitly set a name starting from the second expose call.
Default: - auto generated.
- Specified by:
getNamein interfaceDeploymentExposeViaServiceOptions
-
getPorts
public final List<ServicePort> getPorts()
Description copied from interface:DeploymentExposeViaServiceOptionsThe ports that the service should bind to.Default: - extracted from the deployment.
- Specified by:
getPortsin interfaceDeploymentExposeViaServiceOptions
-
getServiceType
public final ServiceType getServiceType()
Description copied from interface:DeploymentExposeViaServiceOptionsThe type of the exposed service.Default: - ClusterIP.
- Specified by:
getServiceTypein interfaceDeploymentExposeViaServiceOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-