Interface DnsConfigChange.Builder

  • Method Details

    • dnsRecords

      DnsConfigChange.Builder dnsRecords(Collection<DnsRecord> dnsRecords)

      An array that contains one DnsRecord object for each Route 53 record that you want Cloud Map to create when you register an instance.

      Parameters:
      dnsRecords - An array that contains one DnsRecord object 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

      DnsConfigChange.Builder dnsRecords(DnsRecord... dnsRecords)

      An array that contains one DnsRecord object for each Route 53 record that you want Cloud Map to create when you register an instance.

      Parameters:
      dnsRecords - An array that contains one DnsRecord object 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 DnsRecord object for each Route 53 record that you want Cloud Map to create when you register an instance.

      This is a convenience method that creates an instance of the DnsRecord.Builder avoiding the need to create one manually via DnsRecord.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dnsRecords(List<DnsRecord>).

      Parameters:
      dnsRecords - a consumer that will call methods on DnsRecord.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: