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.63.2 (build a8a8833)", date="2022-08-08T02:54:19.149Z") @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 classAddDeploymentOptions.BuilderA builder forAddDeploymentOptionsstatic classAddDeploymentOptions.Jsii$ProxyAn implementation forAddDeploymentOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static AddDeploymentOptions.Builderbuilder()default NumbergetPort()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.BuilderofAddDeploymentOptions
-
-