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.BuilderhealthCheckConfig(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) TheHealthCheckTagsproperty describes key-value pairs that are associated with anAWS::Route53::HealthCheckresource.healthCheckTags(IResolvable healthCheckTags) TheHealthCheckTagsproperty describes key-value pairs that are associated with anAWS::Route53::HealthCheckresource.
-
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
TheHealthCheckTagsproperty describes key-value pairs that are associated with anAWS::Route53::HealthCheckresource.- Parameters:
healthCheckTags- TheHealthCheckTagsproperty describes key-value pairs that are associated with anAWS::Route53::HealthCheckresource. This parameter is required.- Returns:
this
-
healthCheckTags
@Stability(Stable) public CfnHealthCheck.Builder healthCheckTags(List<? extends Object> healthCheckTags) TheHealthCheckTagsproperty describes key-value pairs that are associated with anAWS::Route53::HealthCheckresource.- Parameters:
healthCheckTags- TheHealthCheckTagsproperty describes key-value pairs that are associated with anAWS::Route53::HealthCheckresource. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHealthCheck>- Returns:
- a newly built instance of
CfnHealthCheck.
-