Interface ServiceDiscovery.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceDiscovery.Builder,
,ServiceDiscovery> SdkBuilder<ServiceDiscovery.Builder,
,ServiceDiscovery> SdkPojo
- Enclosing class:
ServiceDiscovery
public static interface ServiceDiscovery.Builder
extends SdkPojo, CopyableBuilder<ServiceDiscovery.Builder,ServiceDiscovery>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ServiceDiscovery.Builder
awsCloudMap
(Consumer<AwsCloudMapServiceDiscovery.Builder> awsCloudMap) Specifies any Cloud Map information for the virtual node.awsCloudMap
(AwsCloudMapServiceDiscovery awsCloudMap) Specifies any Cloud Map information for the virtual node.default ServiceDiscovery.Builder
Specifies the DNS information for the virtual node.dns
(DnsServiceDiscovery dns) Specifies the DNS information for the virtual node.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsCloudMap
Specifies any Cloud Map information for the virtual node.
- Parameters:
awsCloudMap
- Specifies any Cloud Map information for the virtual node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsCloudMap
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 viaAwsCloudMapServiceDiscovery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsCloudMap(AwsCloudMapServiceDiscovery)
.- Parameters:
awsCloudMap
- a consumer that will call methods onAwsCloudMapServiceDiscovery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dns
Specifies the DNS information for the virtual node.
- Parameters:
dns
- Specifies the DNS information for the virtual node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaDnsServiceDiscovery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todns(DnsServiceDiscovery)
.- Parameters:
dns
- a consumer that will call methods onDnsServiceDiscovery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-