public static interface NetworkRoute.Builder extends SdkPojo, CopyableBuilder<NetworkRoute.Builder,NetworkRoute>
| Modifier and Type | Method and Description |
|---|---|
NetworkRoute.Builder |
destinationCidrBlock(String destinationCidrBlock)
A unique identifier for the route, such as a CIDR block.
|
NetworkRoute.Builder |
destinations(Collection<NetworkRouteDestination> destinations)
The destinations.
|
NetworkRoute.Builder |
destinations(Consumer<NetworkRouteDestination.Builder>... destinations)
The destinations.
|
NetworkRoute.Builder |
destinations(NetworkRouteDestination... destinations)
The destinations.
|
NetworkRoute.Builder |
prefixListId(String prefixListId)
The ID of the prefix list.
|
NetworkRoute.Builder |
state(RouteState state)
The route state.
|
NetworkRoute.Builder |
state(String state)
The route state.
|
NetworkRoute.Builder |
type(RouteType type)
The route type.
|
NetworkRoute.Builder |
type(String type)
The route type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkRoute.Builder destinationCidrBlock(String destinationCidrBlock)
A unique identifier for the route, such as a CIDR block.
destinationCidrBlock - A unique identifier for the route, such as a CIDR block.NetworkRoute.Builder destinations(Collection<NetworkRouteDestination> destinations)
The destinations.
destinations - The destinations.NetworkRoute.Builder destinations(NetworkRouteDestination... destinations)
The destinations.
destinations - The destinations.NetworkRoute.Builder destinations(Consumer<NetworkRouteDestination.Builder>... destinations)
The destinations.
This is a convenience method that creates an instance of theNetworkRouteDestination.Builder avoiding the
need to create one manually via
NetworkRouteDestination.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #destinations(List.
destinations - a consumer that will call methods on
NetworkRouteDestination.Builder#destinations(java.util.Collection) NetworkRoute.Builder prefixListId(String prefixListId)
The ID of the prefix list.
prefixListId - The ID of the prefix list.NetworkRoute.Builder state(String state)
The route state. The possible values are active and blackhole.
state - The route state. The possible values are active and blackhole.RouteState,
RouteStateNetworkRoute.Builder state(RouteState state)
The route state. The possible values are active and blackhole.
state - The route state. The possible values are active and blackhole.RouteState,
RouteStateNetworkRoute.Builder type(String type)
The route type. The possible values are propagated and static.
NetworkRoute.Builder type(RouteType type)
The route type. The possible values are propagated and static.
Copyright © 2022. All rights reserved.