Package org.cdk8s.plus24.k8s
Interface GrpcAction
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
GrpcAction.Jsii$Proxy
@Generated(value="jsii-pacmak/1.72.0 (build 4b8828b)", date="2022-12-15T15:42:36.552Z") @Stability(Stable) public interface GrpcAction extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GrpcAction.Builder
A builder forGrpcAction
static class
GrpcAction.Jsii$Proxy
An implementation forGrpcAction
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static GrpcAction.Builder
builder()
Number
getPort()
Port number of the gRPC service.default String
getService()
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).
-
-
-
Method Detail
-
getPort
@Stability(Stable) @NotNull Number getPort()
Port number of the gRPC service.Number must be in the range 1 to 65535.
-
getService
@Stability(Stable) @Nullable default String getService()
Service is the name of the service to place in the gRPC HealthCheckRequest (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md).If this is not specified, the default behavior is defined by gRPC.
-
builder
@Stability(Stable) static GrpcAction.Builder builder()
- Returns:
- a
GrpcAction.Builder
ofGrpcAction
-
-