Interface HealthCheck.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HealthCheck.Builder,
,HealthCheck> SdkBuilder<HealthCheck.Builder,
,HealthCheck> SdkPojo
- Enclosing class:
HealthCheck
-
Method Summary
Modifier and TypeMethodDescriptioncallerReference
(String callerReference) A unique string that you specified when you created the 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.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
healthCheckConfig
(Consumer<HealthCheckConfig.Builder> healthCheckConfig) A complex type that contains detailed information about one health check.healthCheckConfig
(HealthCheckConfig healthCheckConfig) A complex type that contains detailed information about one health check.healthCheckVersion
(Long healthCheckVersion) The version of the health check.The identifier that Amazon Route 53 assigned 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.linkedService
(LinkedService linkedService) If the health check was created by another service, the service that created the health check.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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
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
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
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 theLinkedService.Builder
avoiding the need to create one manually viaLinkedService.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolinkedService(LinkedService)
.- Parameters:
linkedService
- a consumer that will call methods onLinkedService.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 theHealthCheckConfig.Builder
avoiding the need to create one manually viaHealthCheckConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohealthCheckConfig(HealthCheckConfig)
.- Parameters:
healthCheckConfig
- a consumer that will call methods onHealthCheckConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 toUpdateHealthCheck
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 theCloudWatchAlarmConfiguration.Builder
avoiding the need to create one manually viaCloudWatchAlarmConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchAlarmConfiguration(CloudWatchAlarmConfiguration)
.- Parameters:
cloudWatchAlarmConfiguration
- a consumer that will call methods onCloudWatchAlarmConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-