Package org.cdk8s.plus24
Interface AddDeploymentOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,ServiceBindOptions
- All Known Implementing Classes:
AddDeploymentOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-02-04T02:31:04.717Z") @Stability(Stable) public interface AddDeploymentOptions extends software.amazon.jsii.JsiiSerializable, ServiceBindOptions
Options to add a deployment to a service.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AddDeploymentOptions.Builder
A builder forAddDeploymentOptions
static class
AddDeploymentOptions.Jsii$Proxy
An implementation forAddDeploymentOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static AddDeploymentOptions.Builder
builder()
default Number
getPort()
The port number the service will bind to.-
Methods inherited from interface org.cdk8s.plus24.ServiceBindOptions
getName, getNodePort, getProtocol, getTargetPort
-
-
-
-
Method Detail
-
getPort
@Stability(Stable) @Nullable default Number getPort()
The port number the service will bind to.Default: - Copied from the first container of the deployment.
-
builder
@Stability(Stable) static AddDeploymentOptions.Builder builder()
- Returns:
- a
AddDeploymentOptions.Builder
ofAddDeploymentOptions
-
-