Interface HttpGatewayRoute.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpGatewayRoute.Builder,,HttpGatewayRoute> SdkBuilder<HttpGatewayRoute.Builder,,HttpGatewayRoute> SdkPojo
- Enclosing class:
HttpGatewayRoute
public static interface HttpGatewayRoute.Builder
extends SdkPojo, CopyableBuilder<HttpGatewayRoute.Builder,HttpGatewayRoute>
-
Method Summary
Modifier and TypeMethodDescriptiondefault HttpGatewayRoute.Builderaction(Consumer<HttpGatewayRouteAction.Builder> action) An object that represents the action to take if a match is determined.action(HttpGatewayRouteAction action) An object that represents the action to take if a match is determined.default HttpGatewayRoute.BuilderAn object that represents the criteria for determining a request match.match(HttpGatewayRouteMatch match) An object that represents the criteria for determining a request match.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, 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 theHttpGatewayRouteAction.Builderavoiding the need to create one manually viaHttpGatewayRouteAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaction(HttpGatewayRouteAction).- Parameters:
action- a consumer that will call methods onHttpGatewayRouteAction.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 theHttpGatewayRouteMatch.Builderavoiding the need to create one manually viaHttpGatewayRouteMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomatch(HttpGatewayRouteMatch).- Parameters:
match- a consumer that will call methods onHttpGatewayRouteMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-