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.BuilderawsCloudMap(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.BuilderSpecifies 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAwsCloudMapServiceDiscovery.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaDnsServiceDiscovery.builder().When the
Consumercompletes,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:
-