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
Modifier and TypeMethodDescriptiongatewayRoute(Consumer<GatewayRouteData.Builder> gatewayRoute) The full description of your gateway route following the create call.gatewayRoute(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, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-