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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GrpcGatewayRoute.Builderaction(Consumer<GrpcGatewayRouteAction.Builder> action)An object that represents the action to take if a match is determined.GrpcGatewayRoute.Builderaction(GrpcGatewayRouteAction action)An object that represents the action to take if a match is determined.default GrpcGatewayRoute.Buildermatch(Consumer<GrpcGatewayRouteMatch.Builder> match)An object that represents the criteria for determining a request match.GrpcGatewayRoute.Buildermatch(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 Detail
-
action
GrpcGatewayRoute.Builder action(GrpcGatewayRouteAction 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 GrpcGatewayRoute.Builder action(Consumer<GrpcGatewayRouteAction.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 theGrpcGatewayRouteAction.Builderavoiding the need to create one manually viaGrpcGatewayRouteAction.builder().When the
Consumercompletes,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:
action(GrpcGatewayRouteAction)
-
match
GrpcGatewayRoute.Builder match(GrpcGatewayRouteMatch 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 GrpcGatewayRoute.Builder match(Consumer<GrpcGatewayRouteMatch.Builder> match)
An object that represents the criteria for determining a request match.
This is a convenience method that creates an instance of theGrpcGatewayRouteMatch.Builderavoiding the need to create one manually viaGrpcGatewayRouteMatch.builder().When the
Consumercompletes,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:
match(GrpcGatewayRouteMatch)
-
-