Interface ServiceDiscovery.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ServiceDiscovery.Builder,,- ServiceDiscovery> - SdkBuilder<ServiceDiscovery.Builder,,- ServiceDiscovery> - SdkPojo
- Enclosing class:
- ServiceDiscovery
@Mutable
@NotThreadSafe
public static interface ServiceDiscovery.Builder
extends SdkPojo, CopyableBuilder<ServiceDiscovery.Builder,ServiceDiscovery> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
awsCloudMapSpecifies 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.
 
- 
awsCloudMapdefault 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 on- AwsCloudMapServiceDiscovery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
dnsSpecifies 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.
 
- 
dnsSpecifies 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 on- DnsServiceDiscovery.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-