public static interface GrpcGatewayRouteMatch.Builder extends SdkPojo, CopyableBuilder<GrpcGatewayRouteMatch.Builder,GrpcGatewayRouteMatch>
| Modifier and Type | Method and Description |
|---|---|
default GrpcGatewayRouteMatch.Builder |
hostname(Consumer<GatewayRouteHostnameMatch.Builder> hostname)
The gateway route host name to be matched on.
|
GrpcGatewayRouteMatch.Builder |
hostname(GatewayRouteHostnameMatch hostname)
The gateway route host name to be matched on.
|
GrpcGatewayRouteMatch.Builder |
metadata(Collection<GrpcGatewayRouteMetadata> metadata)
The gateway route metadata to be matched on.
|
GrpcGatewayRouteMatch.Builder |
metadata(Consumer<GrpcGatewayRouteMetadata.Builder>... metadata)
The gateway route metadata to be matched on.
|
GrpcGatewayRouteMatch.Builder |
metadata(GrpcGatewayRouteMetadata... metadata)
The gateway route metadata to be matched on.
|
GrpcGatewayRouteMatch.Builder |
port(Integer port)
The port number to match from the request.
|
GrpcGatewayRouteMatch.Builder |
serviceName(String serviceName)
The fully qualified domain name for the service to match from the request.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrpcGatewayRouteMatch.Builder hostname(GatewayRouteHostnameMatch hostname)
The gateway route host name to be matched on.
hostname - The gateway route host name to be matched on.default GrpcGatewayRouteMatch.Builder hostname(Consumer<GatewayRouteHostnameMatch.Builder> hostname)
The gateway route host name to be matched on.
This is a convenience method that creates an instance of theGatewayRouteHostnameMatch.Builder
avoiding the need to create one manually via GatewayRouteHostnameMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to hostname(GatewayRouteHostnameMatch).
hostname - a consumer that will call methods on GatewayRouteHostnameMatch.Builderhostname(GatewayRouteHostnameMatch)GrpcGatewayRouteMatch.Builder metadata(Collection<GrpcGatewayRouteMetadata> metadata)
The gateway route metadata to be matched on.
metadata - The gateway route metadata to be matched on.GrpcGatewayRouteMatch.Builder metadata(GrpcGatewayRouteMetadata... metadata)
The gateway route metadata to be matched on.
metadata - The gateway route metadata to be matched on.GrpcGatewayRouteMatch.Builder metadata(Consumer<GrpcGatewayRouteMetadata.Builder>... metadata)
The gateway route metadata to be matched on.
This is a convenience method that creates an instance of theGrpcGatewayRouteMetadata.Builder avoiding the need to
create one manually via
GrpcGatewayRouteMetadata.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
GrpcGatewayRouteMetadata.Builder#metadata(java.util.Collection) GrpcGatewayRouteMatch.Builder port(Integer port)
The port number to match from the request.
port - The port number to match from the request.GrpcGatewayRouteMatch.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.