Package org.cdk8s.plus20
Interface AddDeploymentOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,ServicePortOptions
- All Known Implementing Classes:
AddDeploymentOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-03T09:09:27.997Z") @Stability(Stable) public interface AddDeploymentOptions extends software.amazon.jsii.JsiiSerializable, ServicePortOptions
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.plus20.ServicePortOptions
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
-
-