Interface GrpcGatewayRoute.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GrpcGatewayRoute.Builder,
,GrpcGatewayRoute> SdkBuilder<GrpcGatewayRoute.Builder,
,GrpcGatewayRoute> SdkPojo
- Enclosing class:
GrpcGatewayRoute
public static interface GrpcGatewayRoute.Builder
extends SdkPojo, CopyableBuilder<GrpcGatewayRoute.Builder,GrpcGatewayRoute>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GrpcGatewayRoute.Builder
action
(Consumer<GrpcGatewayRouteAction.Builder> action) An object that represents the action to take if a match is determined.action
(GrpcGatewayRouteAction action) An object that represents the action to take if a match is determined.default GrpcGatewayRoute.Builder
An object that represents the criteria for determining a request match.match
(GrpcGatewayRouteMatch match) An object that represents the criteria for determining a request match.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
An object that represents the action to take if a match is determined.
- Parameters:
action
- An object that represents the action to take if a match is determined.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
An object that represents the action to take if a match is determined.
This is a convenience method that creates an instance of theGrpcGatewayRouteAction.Builder
avoiding the need to create one manually viaGrpcGatewayRouteAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(GrpcGatewayRouteAction)
.- Parameters:
action
- a consumer that will call methods onGrpcGatewayRouteAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
match
An object that represents the criteria for determining a request match.
- Parameters:
match
- An object that represents the criteria for determining a request match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
An object that represents the criteria for determining a request match.
This is a convenience method that creates an instance of theGrpcGatewayRouteMatch.Builder
avoiding the need to create one manually viaGrpcGatewayRouteMatch.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatch(GrpcGatewayRouteMatch)
.- Parameters:
match
- a consumer that will call methods onGrpcGatewayRouteMatch.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-