Class CfnHealthCheck.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnHealthCheck.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHealthCheck>
- Enclosing class:
CfnHealthCheck
@Stability(Stable)
public static final class CfnHealthCheck.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHealthCheck>
A fluent builder for
CfnHealthCheck
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnHealthCheck.Builder
healthCheckConfig
(IResolvable healthCheckConfig) A complex type that contains detailed information about one health check.healthCheckConfig
(CfnHealthCheck.HealthCheckConfigProperty healthCheckConfig) A complex type that contains detailed information about one health check.healthCheckTags
(List<? extends Object> healthCheckTags) TheHealthCheckTags
property describes key-value pairs that are associated with anAWS::Route53::HealthCheck
resource.healthCheckTags
(IResolvable healthCheckTags) TheHealthCheckTags
property describes key-value pairs that are associated with anAWS::Route53::HealthCheck
resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnHealthCheck.Builder
.
-
healthCheckConfig
A complex type that contains detailed information about one health check.For the values to enter for
HealthCheckConfig
, see HealthCheckConfig- Parameters:
healthCheckConfig
- A complex type that contains detailed information about one health check. This parameter is required.- Returns:
this
-
healthCheckConfig
@Stability(Stable) public CfnHealthCheck.Builder healthCheckConfig(CfnHealthCheck.HealthCheckConfigProperty healthCheckConfig) A complex type that contains detailed information about one health check.For the values to enter for
HealthCheckConfig
, see HealthCheckConfig- Parameters:
healthCheckConfig
- A complex type that contains detailed information about one health check. This parameter is required.- Returns:
this
-
healthCheckTags
TheHealthCheckTags
property describes key-value pairs that are associated with anAWS::Route53::HealthCheck
resource.- Parameters:
healthCheckTags
- TheHealthCheckTags
property describes key-value pairs that are associated with anAWS::Route53::HealthCheck
resource. This parameter is required.- Returns:
this
-
healthCheckTags
@Stability(Stable) public CfnHealthCheck.Builder healthCheckTags(List<? extends Object> healthCheckTags) TheHealthCheckTags
property describes key-value pairs that are associated with anAWS::Route53::HealthCheck
resource.- Parameters:
healthCheckTags
- TheHealthCheckTags
property describes key-value pairs that are associated with anAWS::Route53::HealthCheck
resource. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHealthCheck>
- Returns:
- a newly built instance of
CfnHealthCheck
.
-