Package org.cdk8s.plus25.k8s
Interface ServiceReference
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ServiceReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.819Z") @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 classServiceReference.BuilderA builder forServiceReferencestatic classServiceReference.Jsii$ProxyAn implementation forServiceReference
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static ServiceReference.Builderbuilder()StringgetName()nameis the name of the service.StringgetNamespace()namespaceis the namespace of the service.default StringgetPath()pathis an optional URL path which will be sent in any request to this service.default NumbergetPort()If specified, the port on the service that hosting webhook.
-
-
-
Method Detail
-
getName
@Stability(Stable) @NotNull String getName()
nameis the name of the service.Required
-
getNamespace
@Stability(Stable) @NotNull String getNamespace()
namespaceis the namespace of the service.Required
-
getPath
@Stability(Stable) @Nullable default String getPath()
pathis 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.
portshould 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.BuilderofServiceReference
-
-