public static interface HealthCheck.Builder extends CopyableBuilder<HealthCheck.Builder,HealthCheck>
Modifier and Type | Method and Description |
---|---|
HealthCheck.Builder |
callerReference(String callerReference)
A unique string that you specified when you created the health check.
|
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.
|
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.
|
default HealthCheck.Builder |
healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
A complex type that contains detailed information about one health check.
|
HealthCheck.Builder |
healthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains detailed information about one health check.
|
HealthCheck.Builder |
healthCheckVersion(Long healthCheckVersion)
The version of the health check.
|
HealthCheck.Builder |
id(String id)
The identifier that Amazon Route 53assigned to the health check when you created it.
|
default HealthCheck.Builder |
linkedService(Consumer<LinkedService.Builder> linkedService)
If the health check was created by another service, the service that created the health check.
|
HealthCheck.Builder |
linkedService(LinkedService linkedService)
If the health check was created by another service, the service that created the health check.
|
copy
apply, build
HealthCheck.Builder id(String id)
The identifier that Amazon Route 53assigned 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.
id
- The identifier that Amazon Route 53assigned 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.HealthCheck.Builder callerReference(String callerReference)
A unique string that you specified when you created the health check.
callerReference
- A unique string that you specified when you created the health check.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.
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.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 that creates an instance of theLinkedService.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)
.linkedService
- a consumer that will call methods on LinkedService.Builder
linkedService(LinkedService)
HealthCheck.Builder healthCheckConfig(HealthCheckConfig healthCheckConfig)
A complex type that contains detailed information about one health check.
healthCheckConfig
- A complex type that contains detailed information about one health check.default HealthCheck.Builder healthCheckConfig(Consumer<HealthCheckConfig.Builder> healthCheckConfig)
A complex type that contains detailed information about one health check.
This is a convenience that creates an instance of theHealthCheckConfig.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)
.healthCheckConfig
- a consumer that will call methods on HealthCheckConfig.Builder
healthCheckConfig(HealthCheckConfig)
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.
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.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.
cloudWatchAlarmConfiguration
- A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring
for this health check.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 that creates an instance of theCloudWatchAlarmConfiguration.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)
.cloudWatchAlarmConfiguration
- a consumer that will call methods on CloudWatchAlarmConfiguration.Builder
cloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.