java.lang.Object
io.helidon.grpc.server.GrpcServer.Builder
- All Implemented Interfaces:
Builder<GrpcServer.Builder,
,GrpcServer> Supplier<GrpcServer>
- Enclosing interface:
- GrpcServer
public static final class GrpcServer.Builder
extends Object
implements Builder<GrpcServer.Builder,GrpcServer>
GrpcServer builder class provides a convenient way to timed a
GrpcServer instance.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theGrpcServer
instance as configured by this builder and its parameters.config
(GrpcServerConfiguration configuration) Set a configuration of theGrpcServer
.config
(Supplier<GrpcServerConfiguration> configurationBuilder) Set a configuration of theGrpcServer
.
-
Method Details
-
config
Set a configuration of theGrpcServer
.- Parameters:
configuration
- the configuration- Returns:
- an updated builder
-
config
Set a configuration of theGrpcServer
.- Parameters:
configurationBuilder
- the configuration builder- Returns:
- an updated builder
-
build
Builds theGrpcServer
instance as configured by this builder and its parameters.- Specified by:
build
in interfaceBuilder<GrpcServer.Builder,
GrpcServer> - Returns:
- a ready to use
GrpcServer
-