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 that the route resides in.
|
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 that the route is associated with.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRouteData.Builder meshName(String meshName)
The name of the service mesh that the route resides in.
meshName - The name of the service mesh that the route resides in.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.Buildermetadata(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.Builderspec(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.Builderstatus(RouteStatus)RouteData.Builder virtualRouterName(String virtualRouterName)
The virtual router that the route is associated with.
virtualRouterName - The virtual router that the route is associated with.Copyright © 2021. All rights reserved.