Interface HealthCheck.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HealthCheck.Builder,HealthCheck>, SdkBuilder<HealthCheck.Builder,HealthCheck>, SdkPojo
Enclosing class:
HealthCheck

public static interface HealthCheck.Builder extends SdkPojo, CopyableBuilder<HealthCheck.Builder,HealthCheck>
  • Method Details

    • id

      The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

      Parameters:
      id - The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • callerReference

      HealthCheck.Builder callerReference(String callerReference)

      A unique string that you specified when you created the health check.

      Parameters:
      callerReference - A unique string that you specified when you created the health check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedService

      HealthCheck.Builder linkedService(LinkedService linkedService)

      If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.

      Parameters:
      linkedService - If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkedService

      default HealthCheck.Builder linkedService(Consumer<LinkedService.Builder> linkedService)

      If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.

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

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

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

      HealthCheck.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)

      A complex type that contains detailed information about one health check.

      Parameters:
      healthCheckConfig - A complex type that contains detailed information about one health check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • healthCheckConfig

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

      A complex type that contains detailed information about one health check.

      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:
    • healthCheckVersion

      HealthCheck.Builder healthCheckVersion(Long healthCheckVersion)

      The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck to prevent overwriting another change to the health check.

      Parameters:
      healthCheckVersion - The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck to prevent overwriting another change to the health check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchAlarmConfiguration

      HealthCheck.Builder cloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration cloudWatchAlarmConfiguration)

      A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

      Parameters:
      cloudWatchAlarmConfiguration - A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cloudWatchAlarmConfiguration

      default HealthCheck.Builder cloudWatchAlarmConfiguration(Consumer<CloudWatchAlarmConfiguration.Builder> cloudWatchAlarmConfiguration)

      A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

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

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

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