public static interface RouteData.Builder extends SdkPojo, CopyableBuilder<RouteData.Builder,RouteData>
Modifier and Type | Method and Description |
---|---|
RouteData.Builder |
meshName(String meshName)
The name of the service mesh in which the route resides.
|
default RouteData.Builder |
metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the route.
|
RouteData.Builder |
metadata(ResourceMetadata metadata)
The associated metadata for the route.
|
RouteData.Builder |
routeName(String routeName)
The name of the route.
|
default RouteData.Builder |
spec(Consumer<RouteSpec.Builder> spec)
The specifications of the route.
|
RouteData.Builder |
spec(RouteSpec spec)
The specifications of the route.
|
default RouteData.Builder |
status(Consumer<RouteStatus.Builder> status)
The status of the route.
|
RouteData.Builder |
status(RouteStatus status)
The status of the route.
|
RouteData.Builder |
virtualRouterName(String virtualRouterName)
The virtual router with which the route is associated.
|
copy
applyMutation, build
RouteData.Builder meshName(String meshName)
The name of the service mesh in which the route resides.
meshName
- The name of the service mesh in which the route resides.RouteData.Builder metadata(ResourceMetadata metadata)
The associated metadata for the route.
metadata
- The associated metadata for the route.default RouteData.Builder metadata(Consumer<ResourceMetadata.Builder> metadata)
The associated metadata for the route.
This is a convenience that creates an instance of theResourceMetadata.Builder
avoiding the need to
create one manually via ResourceMetadata.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to metadata(ResourceMetadata)
.metadata
- a consumer that will call methods on ResourceMetadata.Builder
metadata(ResourceMetadata)
RouteData.Builder routeName(String routeName)
The name of the route.
routeName
- The name of the route.RouteData.Builder spec(RouteSpec spec)
The specifications of the route.
spec
- The specifications of the route.default RouteData.Builder spec(Consumer<RouteSpec.Builder> spec)
The specifications of the route.
This is a convenience that creates an instance of theRouteSpec.Builder
avoiding the need to create
one manually via RouteSpec.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to spec(RouteSpec)
.spec
- a consumer that will call methods on RouteSpec.Builder
spec(RouteSpec)
RouteData.Builder status(RouteStatus status)
The status of the route.
status
- The status of the route.default RouteData.Builder status(Consumer<RouteStatus.Builder> status)
The status of the route.
This is a convenience that creates an instance of theRouteStatus.Builder
avoiding the need to create
one manually via RouteStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to status(RouteStatus)
.status
- a consumer that will call methods on RouteStatus.Builder
status(RouteStatus)
RouteData.Builder virtualRouterName(String virtualRouterName)
The virtual router with which the route is associated.
virtualRouterName
- The virtual router with which the route is associated.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.