Interface GrpcGatewayRouteAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GrpcGatewayRouteAction.Builder,
,GrpcGatewayRouteAction> SdkBuilder<GrpcGatewayRouteAction.Builder,
,GrpcGatewayRouteAction> SdkPojo
- Enclosing class:
GrpcGatewayRouteAction
public static interface GrpcGatewayRouteAction.Builder
extends SdkPojo, CopyableBuilder<GrpcGatewayRouteAction.Builder,GrpcGatewayRouteAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GrpcGatewayRouteAction.Builder
rewrite
(Consumer<GrpcGatewayRouteRewrite.Builder> rewrite) The gateway route action to rewrite.rewrite
(GrpcGatewayRouteRewrite rewrite) The gateway route action to rewrite.default GrpcGatewayRouteAction.Builder
target
(Consumer<GatewayRouteTarget.Builder> target) An object that represents the target that traffic is routed to when a request matches the gateway route.target
(GatewayRouteTarget target) An object that represents the target that traffic is routed to when a request matches the gateway route.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
-
rewrite
The gateway route action to rewrite.
- Parameters:
rewrite
- The gateway route action to rewrite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rewrite
The gateway route action to rewrite.
This is a convenience method that creates an instance of theGrpcGatewayRouteRewrite.Builder
avoiding the need to create one manually viaGrpcGatewayRouteRewrite.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torewrite(GrpcGatewayRouteRewrite)
.- Parameters:
rewrite
- a consumer that will call methods onGrpcGatewayRouteRewrite.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
An object that represents the target that traffic is routed to when a request matches the gateway route.
- Parameters:
target
- An object that represents the target that traffic is routed to when a request matches the gateway route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
An object that represents the target that traffic is routed to when a request matches the gateway route.
This is a convenience method that creates an instance of theGatewayRouteTarget.Builder
avoiding the need to create one manually viaGatewayRouteTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totarget(GatewayRouteTarget)
.- Parameters:
target
- a consumer that will call methods onGatewayRouteTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-