public static interface GrpcRouteMatch.Builder extends SdkPojo, CopyableBuilder<GrpcRouteMatch.Builder,GrpcRouteMatch>
| Modifier and Type | Method and Description |
|---|---|
GrpcRouteMatch.Builder |
metadata(Collection<GrpcRouteMetadata> metadata)
An object that represents the data to match from the request.
|
GrpcRouteMatch.Builder |
metadata(Consumer<GrpcRouteMetadata.Builder>... metadata)
An object that represents the data to match from the request.
|
GrpcRouteMatch.Builder |
metadata(GrpcRouteMetadata... metadata)
An object that represents the data to match from the request.
|
GrpcRouteMatch.Builder |
methodName(String methodName)
The method name to match from the request.
|
GrpcRouteMatch.Builder |
port(Integer port)
The port number to match on.
|
GrpcRouteMatch.Builder |
serviceName(String serviceName)
The fully qualified domain name for the service to match from the request.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrpcRouteMatch.Builder metadata(Collection<GrpcRouteMetadata> metadata)
An object that represents the data to match from the request.
metadata - An object that represents the data to match from the request.GrpcRouteMatch.Builder metadata(GrpcRouteMetadata... metadata)
An object that represents the data to match from the request.
metadata - An object that represents the data to match from the request.GrpcRouteMatch.Builder metadata(Consumer<GrpcRouteMetadata.Builder>... metadata)
An object that represents the data to match from the request.
This is a convenience method that creates an instance of theGrpcRouteMetadata.Builder avoiding the need to create
one manually via GrpcRouteMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #metadata(List.
metadata - a consumer that will call methods on
GrpcRouteMetadata.Builder#metadata(java.util.Collection) GrpcRouteMatch.Builder methodName(String methodName)
The method name to match from the request. If you specify a name, you must also specify a
serviceName.
methodName - The method name to match from the request. If you specify a name, you must also specify a
serviceName.GrpcRouteMatch.Builder port(Integer port)
The port number to match on.
port - The port number to match on.GrpcRouteMatch.Builder serviceName(String serviceName)
The fully qualified domain name for the service to match from the request.
serviceName - The fully qualified domain name for the service to match from the request.Copyright © 2023. All rights reserved.