Interface DnsConfigChange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DnsConfigChange.Builder,,DnsConfigChange> SdkBuilder<DnsConfigChange.Builder,,DnsConfigChange> SdkPojo
- Enclosing class:
DnsConfigChange
public static interface DnsConfigChange.Builder
extends SdkPojo, CopyableBuilder<DnsConfigChange.Builder,DnsConfigChange>
-
Method Summary
Modifier and TypeMethodDescriptiondnsRecords(Collection<DnsRecord> dnsRecords) An array that contains oneDnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.dnsRecords(Consumer<DnsRecord.Builder>... dnsRecords) An array that contains oneDnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.dnsRecords(DnsRecord... dnsRecords) An array that contains oneDnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.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, sdkFields
-
Method Details
-
dnsRecords
An array that contains one
DnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.- Parameters:
dnsRecords- An array that contains oneDnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsRecords
An array that contains one
DnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.- Parameters:
dnsRecords- An array that contains oneDnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsRecords
An array that contains one
This is a convenience method that creates an instance of theDnsRecordobject for each Route 53 record that you want Cloud Map to create when you register an instance.DnsRecord.Builderavoiding the need to create one manually viaDnsRecord.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsRecords(List<DnsRecord>).- Parameters:
dnsRecords- a consumer that will call methods onDnsRecord.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-