public static interface GrpcRoute.Builder extends SdkPojo, CopyableBuilder<GrpcRoute.Builder,GrpcRoute>
| Modifier and Type | Method and Description |
|---|---|
default GrpcRoute.Builder |
action(Consumer<GrpcRouteAction.Builder> action)
An object that represents the action to take if a match is determined.
|
GrpcRoute.Builder |
action(GrpcRouteAction action)
An object that represents the action to take if a match is determined.
|
default GrpcRoute.Builder |
match(Consumer<GrpcRouteMatch.Builder> match)
An object that represents the criteria for determining a request match.
|
GrpcRoute.Builder |
match(GrpcRouteMatch match)
An object that represents the criteria for determining a request match.
|
default GrpcRoute.Builder |
retryPolicy(Consumer<GrpcRetryPolicy.Builder> retryPolicy)
An object that represents a retry policy.
|
GrpcRoute.Builder |
retryPolicy(GrpcRetryPolicy retryPolicy)
An object that represents a retry policy.
|
default GrpcRoute.Builder |
timeout(Consumer<GrpcTimeout.Builder> timeout)
An object that represents types of timeouts.
|
GrpcRoute.Builder |
timeout(GrpcTimeout timeout)
An object that represents types of timeouts.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGrpcRoute.Builder action(GrpcRouteAction action)
An object that represents the action to take if a match is determined.
action - An object that represents the action to take if a match is determined.default GrpcRoute.Builder action(Consumer<GrpcRouteAction.Builder> action)
An object that represents the action to take if a match is determined.
This is a convenience that creates an instance of theGrpcRouteAction.Builder avoiding the need to
create one manually via GrpcRouteAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to action(GrpcRouteAction).action - a consumer that will call methods on GrpcRouteAction.Builderaction(GrpcRouteAction)GrpcRoute.Builder match(GrpcRouteMatch match)
An object that represents the criteria for determining a request match.
match - An object that represents the criteria for determining a request match.default GrpcRoute.Builder match(Consumer<GrpcRouteMatch.Builder> match)
An object that represents the criteria for determining a request match.
This is a convenience that creates an instance of theGrpcRouteMatch.Builder avoiding the need to
create one manually via GrpcRouteMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to match(GrpcRouteMatch).match - a consumer that will call methods on GrpcRouteMatch.Buildermatch(GrpcRouteMatch)GrpcRoute.Builder retryPolicy(GrpcRetryPolicy retryPolicy)
An object that represents a retry policy.
retryPolicy - An object that represents a retry policy.default GrpcRoute.Builder retryPolicy(Consumer<GrpcRetryPolicy.Builder> retryPolicy)
An object that represents a retry policy.
This is a convenience that creates an instance of theGrpcRetryPolicy.Builder avoiding the need to
create one manually via GrpcRetryPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retryPolicy(GrpcRetryPolicy).retryPolicy - a consumer that will call methods on GrpcRetryPolicy.BuilderretryPolicy(GrpcRetryPolicy)GrpcRoute.Builder timeout(GrpcTimeout timeout)
An object that represents types of timeouts.
timeout - An object that represents types of timeouts.default GrpcRoute.Builder timeout(Consumer<GrpcTimeout.Builder> timeout)
An object that represents types of timeouts.
This is a convenience that creates an instance of theGrpcTimeout.Builder avoiding the need to create
one manually via GrpcTimeout.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to timeout(GrpcTimeout).timeout - a consumer that will call methods on GrpcTimeout.Buildertimeout(GrpcTimeout)Copyright © 2021. All rights reserved.