public static interface VirtualNodeSpec.Builder extends SdkPojo, CopyableBuilder<VirtualNodeSpec.Builder,VirtualNodeSpec>
Modifier and Type | Method and Description |
---|---|
VirtualNodeSpec.Builder |
backends(Collection<String> backends)
The backends to which the virtual node is expected to send outbound traffic.
|
VirtualNodeSpec.Builder |
backends(String... backends)
The backends to which the virtual node is expected to send outbound traffic.
|
VirtualNodeSpec.Builder |
listeners(Collection<Listener> listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
|
VirtualNodeSpec.Builder |
listeners(Consumer<Listener.Builder>... listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
|
VirtualNodeSpec.Builder |
listeners(Listener... listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
|
default VirtualNodeSpec.Builder |
serviceDiscovery(Consumer<ServiceDiscovery.Builder> serviceDiscovery)
The service discovery information for the virtual node.
|
VirtualNodeSpec.Builder |
serviceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
|
copy
applyMutation, build
VirtualNodeSpec.Builder backends(Collection<String> backends)
The backends to which the virtual node is expected to send outbound traffic.
backends
- The backends to which the virtual node is expected to send outbound traffic.VirtualNodeSpec.Builder backends(String... backends)
The backends to which the virtual node is expected to send outbound traffic.
backends
- The backends to which the virtual node is expected to send outbound traffic.VirtualNodeSpec.Builder listeners(Collection<Listener> listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
listeners
- The listeners from which the virtual node is expected to receive inbound traffic.VirtualNodeSpec.Builder listeners(Listener... listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
listeners
- The listeners from which the virtual node is expected to receive inbound traffic.VirtualNodeSpec.Builder listeners(Consumer<Listener.Builder>... listeners)
The listeners from which the virtual node is expected to receive inbound traffic.
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)
VirtualNodeSpec.Builder serviceDiscovery(ServiceDiscovery serviceDiscovery)
The service discovery information for the virtual node.
serviceDiscovery
- The service discovery information for the virtual node.default VirtualNodeSpec.Builder serviceDiscovery(Consumer<ServiceDiscovery.Builder> serviceDiscovery)
The service discovery information for the virtual node.
This is a convenience that creates an instance of theServiceDiscovery.Builder
avoiding the need to
create one manually via ServiceDiscovery.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to serviceDiscovery(ServiceDiscovery)
.serviceDiscovery
- a consumer that will call methods on ServiceDiscovery.Builder
serviceDiscovery(ServiceDiscovery)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.