public static interface VirtualRouterSpec.Builder extends SdkPojo, CopyableBuilder<VirtualRouterSpec.Builder,VirtualRouterSpec>
| Modifier and Type | Method and Description |
|---|---|
VirtualRouterSpec.Builder |
listeners(Collection<VirtualRouterListener> listeners)
The listeners that the virtual router is expected to receive inbound traffic from.
|
VirtualRouterSpec.Builder |
listeners(Consumer<VirtualRouterListener.Builder>... listeners)
The listeners that the virtual router is expected to receive inbound traffic from.
|
VirtualRouterSpec.Builder |
listeners(VirtualRouterListener... listeners)
The listeners that the virtual router is expected to receive inbound traffic from.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVirtualRouterSpec.Builder listeners(Collection<VirtualRouterListener> listeners)
The listeners that the virtual router is expected to receive inbound traffic from. You can specify one listener.
listeners - The listeners that the virtual router is expected to receive inbound traffic from. You can specify one
listener.VirtualRouterSpec.Builder listeners(VirtualRouterListener... listeners)
The listeners that the virtual router is expected to receive inbound traffic from. You can specify one listener.
listeners - The listeners that the virtual router is expected to receive inbound traffic from. You can specify one
listener.VirtualRouterSpec.Builder listeners(Consumer<VirtualRouterListener.Builder>... listeners)
The listeners that the virtual router is expected to receive inbound traffic from. You can specify one listener.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #listeners(List) .listeners - a consumer that will call methods on List.Builder #listeners(List) Copyright © 2021. All rights reserved.