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
Modifier and TypeMethodDescriptiondefault CreateRouteResponse.Builderroute(Consumer<RouteData.Builder> route) The full description of your mesh following the create call.The full description of your mesh 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
- 
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
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:
 
 
 -