Interface CreateGatewayRouteResponse.Builder
-
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateGatewayRouteResponse.Builder,CreateGatewayRouteResponse>,SdkBuilder<CreateGatewayRouteResponse.Builder,CreateGatewayRouteResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateGatewayRouteResponse
public static interface CreateGatewayRouteResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<CreateGatewayRouteResponse.Builder,CreateGatewayRouteResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateGatewayRouteResponse.BuildergatewayRoute(Consumer<GatewayRouteData.Builder> gatewayRoute)The full description of your gateway route following the create call.CreateGatewayRouteResponse.BuildergatewayRoute(GatewayRouteData gatewayRoute)The full description of your gateway route following the create call.-
Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
gatewayRoute
CreateGatewayRouteResponse.Builder gatewayRoute(GatewayRouteData gatewayRoute)
The full description of your gateway route following the create call.
- Parameters:
gatewayRoute- The full description of your gateway route following the create call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayRoute
default CreateGatewayRouteResponse.Builder gatewayRoute(Consumer<GatewayRouteData.Builder> gatewayRoute)
The full description of your gateway route following the create call.
This is a convenience method that creates an instance of theGatewayRouteData.Builderavoiding the need to create one manually viaGatewayRouteData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayRoute(GatewayRouteData).- Parameters:
gatewayRoute- a consumer that will call methods onGatewayRouteData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gatewayRoute(GatewayRouteData)
-
-