Class CfnHealthCheckProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnHealthCheckProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHealthCheckProps>
- Enclosing interface:
CfnHealthCheckProps
@Stability(Stable)
public static final class CfnHealthCheckProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHealthCheckProps>
A builder for
CfnHealthCheckProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.healthCheckConfig(IResolvable healthCheckConfig) Sets the value ofCfnHealthCheckProps.getHealthCheckConfig()healthCheckConfig(CfnHealthCheck.HealthCheckConfigProperty healthCheckConfig) Sets the value ofCfnHealthCheckProps.getHealthCheckConfig()healthCheckTags(List<? extends CfnHealthCheck.HealthCheckTagProperty> healthCheckTags) Sets the value ofCfnHealthCheckProps.getHealthCheckTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
healthCheckConfig
@Stability(Stable) public CfnHealthCheckProps.Builder healthCheckConfig(IResolvable healthCheckConfig) Sets the value ofCfnHealthCheckProps.getHealthCheckConfig()- Parameters:
healthCheckConfig- A complex type that contains detailed information about one health check. This parameter is required. For the values to enter forHealthCheckConfig, see HealthCheckConfig- Returns:
this
-
healthCheckConfig
@Stability(Stable) public CfnHealthCheckProps.Builder healthCheckConfig(CfnHealthCheck.HealthCheckConfigProperty healthCheckConfig) Sets the value ofCfnHealthCheckProps.getHealthCheckConfig()- Parameters:
healthCheckConfig- A complex type that contains detailed information about one health check. This parameter is required. For the values to enter forHealthCheckConfig, see HealthCheckConfig- Returns:
this
-
healthCheckTags
@Stability(Stable) public CfnHealthCheckProps.Builder healthCheckTags(List<? extends CfnHealthCheck.HealthCheckTagProperty> healthCheckTags) Sets the value ofCfnHealthCheckProps.getHealthCheckTags()- Parameters:
healthCheckTags- TheHealthCheckTagsproperty describes key-value pairs that are associated with anAWS::Route53::HealthCheckresource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHealthCheckProps>- Returns:
- a new instance of
CfnHealthCheckProps - Throws:
NullPointerException- if any required attribute was not provided
-