public static interface ServiceDiscovery.Builder extends SdkPojo, CopyableBuilder<ServiceDiscovery.Builder,ServiceDiscovery>
| Modifier and Type | Method and Description |
|---|---|
default ServiceDiscovery.Builder |
dns(Consumer<DnsServiceDiscovery.Builder> dns)
Specifies the DNS service name for the virtual node.
|
ServiceDiscovery.Builder |
dns(DnsServiceDiscovery dns)
Specifies the DNS service name for the virtual node.
|
copyapplyMutation, buildServiceDiscovery.Builder dns(DnsServiceDiscovery dns)
Specifies the DNS service name for the virtual node.
dns - Specifies the DNS service name for the virtual node.default ServiceDiscovery.Builder dns(Consumer<DnsServiceDiscovery.Builder> dns)
Specifies the DNS service name for the virtual node.
This is a convenience that creates an instance of theDnsServiceDiscovery.Builder avoiding the need
to create one manually via DnsServiceDiscovery.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to dns(DnsServiceDiscovery).dns - a consumer that will call methods on DnsServiceDiscovery.Builderdns(DnsServiceDiscovery)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.