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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default HttpGatewayRoute.Builderaction(Consumer<HttpGatewayRouteAction.Builder> action)An object that represents the action to take if a match is determined.HttpGatewayRoute.Builderaction(HttpGatewayRouteAction action)An object that represents the action to take if a match is determined.default HttpGatewayRoute.Buildermatch(Consumer<HttpGatewayRouteMatch.Builder> match)An object that represents the criteria for determining a request match.HttpGatewayRoute.Buildermatch(HttpGatewayRouteMatch 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 Detail
-
action
HttpGatewayRoute.Builder action(HttpGatewayRouteAction 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
default HttpGatewayRoute.Builder action(Consumer<HttpGatewayRouteAction.Builder> 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:
action(HttpGatewayRouteAction)
-
match
HttpGatewayRoute.Builder match(HttpGatewayRouteMatch 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
default HttpGatewayRoute.Builder match(Consumer<HttpGatewayRouteMatch.Builder> 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:
match(HttpGatewayRouteMatch)
-
-