Interface ServiceChange.Builder

  • Method Details

    • description

      ServiceChange.Builder description(String description)

      A description for the service.

      Parameters:
      description - A description for the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dnsConfig

      ServiceChange.Builder dnsConfig(DnsConfigChange dnsConfig)

      Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.

      Parameters:
      dnsConfig - Information about the Route 53 DNS records 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.
    • dnsConfig

      default ServiceChange.Builder dnsConfig(Consumer<DnsConfigChange.Builder> dnsConfig)

      Information about the Route 53 DNS records that you want Cloud Map to create when you register an instance.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dnsConfig(DnsConfigChange).

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

      ServiceChange.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)

      Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig.

      Parameters:
      healthCheckConfig - Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthCheckConfig

      default ServiceChange.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)

      Public DNS and HTTP namespaces only. Settings for an optional health check. If you specify settings for a health check, Cloud Map associates the health check with the records that you specify in DnsConfig.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to healthCheckConfig(HealthCheckConfig).

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