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.69.0 (build f656c31)", date="2022-10-06T02:54:46.015Z") @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()`name` is the name of the service.StringgetNamespace()`namespace` is the namespace of the service.default StringgetPath()`path` is 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()
`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.
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
-
-