public static interface ServiceDiscovery.Builder extends SdkPojo, CopyableBuilder<ServiceDiscovery.Builder,ServiceDiscovery>
| Modifier and Type | Method and Description |
|---|---|
ServiceDiscovery.Builder |
awsCloudMap(AwsCloudMapServiceDiscovery awsCloudMap)
Specifies any Cloud Map information for the virtual node.
|
default ServiceDiscovery.Builder |
awsCloudMap(Consumer<AwsCloudMapServiceDiscovery.Builder> awsCloudMap)
Specifies any Cloud Map information for the virtual node.
|
default ServiceDiscovery.Builder |
dns(Consumer<DnsServiceDiscovery.Builder> dns)
Specifies the DNS information for the virtual node.
|
ServiceDiscovery.Builder |
dns(DnsServiceDiscovery dns)
Specifies the DNS information for the virtual node.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServiceDiscovery.Builder awsCloudMap(AwsCloudMapServiceDiscovery awsCloudMap)
Specifies any Cloud Map information for the virtual node.
awsCloudMap - Specifies any Cloud Map information for the virtual node.default ServiceDiscovery.Builder awsCloudMap(Consumer<AwsCloudMapServiceDiscovery.Builder> awsCloudMap)
Specifies any Cloud Map information for the virtual node.
This is a convenience method that creates an instance of theAwsCloudMapServiceDiscovery.Builder
avoiding the need to create one manually via AwsCloudMapServiceDiscovery.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to awsCloudMap(AwsCloudMapServiceDiscovery).
awsCloudMap - a consumer that will call methods on AwsCloudMapServiceDiscovery.BuilderawsCloudMap(AwsCloudMapServiceDiscovery)ServiceDiscovery.Builder dns(DnsServiceDiscovery dns)
Specifies the DNS information for the virtual node.
dns - Specifies the DNS information for the virtual node.default ServiceDiscovery.Builder dns(Consumer<DnsServiceDiscovery.Builder> dns)
Specifies the DNS information for the virtual node.
This is a convenience method 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 © 2023. All rights reserved.