Interface CreateRouteResponse.Builder
-
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateRouteResponse.Builder,CreateRouteResponse>,SdkBuilder<CreateRouteResponse.Builder,CreateRouteResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRouteResponse
public static interface CreateRouteResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<CreateRouteResponse.Builder,CreateRouteResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateRouteResponse.Builderroute(Consumer<RouteData.Builder> route)The full description of your mesh following the create call.CreateRouteResponse.Builderroute(RouteData route)The full description of your mesh 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
-
route
CreateRouteResponse.Builder route(RouteData route)
The full description of your mesh following the create call.
- Parameters:
route- The full description of your mesh following the create call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
route
default CreateRouteResponse.Builder route(Consumer<RouteData.Builder> route)
The full description of your mesh following the create call.
This is a convenience method that creates an instance of theRouteData.Builderavoiding the need to create one manually viaRouteData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroute(RouteData).- Parameters:
route- a consumer that will call methods onRouteData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
route(RouteData)
-
-