Interface HttpGatewayRouteAction.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<HttpGatewayRouteAction.Builder,,HttpGatewayRouteAction> SdkBuilder<HttpGatewayRouteAction.Builder,,HttpGatewayRouteAction> SdkPojo
- Enclosing class:
 HttpGatewayRouteAction
public static interface HttpGatewayRouteAction.Builder
extends SdkPojo, CopyableBuilder<HttpGatewayRouteAction.Builder,HttpGatewayRouteAction> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault HttpGatewayRouteAction.Builderrewrite(Consumer<HttpGatewayRouteRewrite.Builder> rewrite) The gateway route action to rewrite.rewrite(HttpGatewayRouteRewrite rewrite) The gateway route action to rewrite.default HttpGatewayRouteAction.Buildertarget(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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 theHttpGatewayRouteRewrite.Builderavoiding the need to create one manually viaHttpGatewayRouteRewrite.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torewrite(HttpGatewayRouteRewrite).- Parameters:
 rewrite- a consumer that will call methods onHttpGatewayRouteRewrite.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.Builderavoiding the need to create one manually viaGatewayRouteTarget.builder().When the
Consumercompletes,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:
 
 
 -