Class CfnHealthCheck.AlarmIdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.services.route53.CfnHealthCheck.AlarmIdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHealthCheck.AlarmIdentifierProperty>
- Enclosing interface:
CfnHealthCheck.AlarmIdentifierProperty
@Stability(Stable)
public static final class CfnHealthCheck.AlarmIdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHealthCheck.AlarmIdentifierProperty>
A builder for
CfnHealthCheck.AlarmIdentifierProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnHealthCheck.AlarmIdentifierProperty.getName()
Sets the value ofCfnHealthCheck.AlarmIdentifierProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnHealthCheck.AlarmIdentifierProperty.getName()
- Parameters:
name
- The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. This parameter is required.Route 53 supports CloudWatch alarms with the following features:
- Standard-resolution metrics. High-resolution metrics aren't supported. For more information, see High-Resolution Metrics in the Amazon CloudWatch User Guide .
- Statistics: Average, Minimum, Maximum, Sum, and SampleCount. Extended statistics aren't supported.
- Returns:
this
-
region
Sets the value ofCfnHealthCheck.AlarmIdentifierProperty.getRegion()
- Parameters:
region
- For the CloudWatch alarm that you want Route 53 health checkers to use to determine whether this health check is healthy, the region that the alarm was created in. This parameter is required. For the current list of CloudWatch regions, see Amazon CloudWatch endpoints and quotas in the Amazon Web Services General Reference .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHealthCheck.AlarmIdentifierProperty>
- Returns:
- a new instance of
CfnHealthCheck.AlarmIdentifierProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-