Package org.cdk8s.plus24
Interface ServiceIngressBackendOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceIngressBackendOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T02:54:19.312Z") @Stability(Stable) public interface ServiceIngressBackendOptions extends software.amazon.jsii.JsiiSerializable
Options for setting up backends for ingress rules.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classServiceIngressBackendOptions.BuilderA builder forServiceIngressBackendOptionsstatic classServiceIngressBackendOptions.Jsii$ProxyAn implementation forServiceIngressBackendOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ServiceIngressBackendOptions.Builderbuilder()default NumbergetPort()The port to use to access the service.
-
-
-
Method Detail
-
getPort
@Stability(Stable) @Nullable default Number getPort()
The port to use to access the service.- This option will fail if the service does not expose any ports.
- If the service exposes multiple ports, this option must be specified.
- If the service exposes a single port, this option is optional and if specified, it must be the same port exposed by the service.
Default: - if the service exposes a single port, this port will be used.
-
builder
@Stability(Stable) static ServiceIngressBackendOptions.Builder builder()
-
-