Package org.cdk8s.plus24.k8s
Interface ServiceReference
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-13T15:58:20.212Z") @Stability(Stable) public interface ServiceReference extends software.amazon.jsii.JsiiSerializable
ServiceReference holds a reference to Service.legacy.k8s.io.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ServiceReference.Builder
A builder forServiceReference
static class
ServiceReference.Jsii$Proxy
An implementation forServiceReference
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ServiceReference.Builder
builder()
String
getName()
`name` is the name of the service.String
getNamespace()
`namespace` is the namespace of the service.default String
getPath()
`path` is an optional URL path which will be sent in any request to this service.default Number
getPort()
If specified, the port on the service that hosting webhook.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
`name` is the name of the service.Required
-
getNamespace
@Stability(Stable) @NotNull String getNamespace()
`namespace` is the namespace of the service.Required
-
getPath
@Stability(Stable) @Nullable default String getPath()
`path` is an optional URL path which will be sent in any request to this service.
-
getPort
@Stability(Stable) @Nullable default Number getPort()
If specified, the port on the service that hosting webhook.Default to 443 for backward compatibility.
port
should be a valid port number (1-65535, inclusive).Default: 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
-
builder
@Stability(Stable) static ServiceReference.Builder builder()
- Returns:
- a
ServiceReference.Builder
ofServiceReference
-
-