@Stability(value=Stable) public static final class CfnHealthCheck.AlarmIdentifierProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnHealthCheck.AlarmIdentifierProperty>
CfnHealthCheck.AlarmIdentifierProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnHealthCheck.AlarmIdentifierProperty |
build()
Builds the configured instance.
|
CfnHealthCheck.AlarmIdentifierProperty.Builder |
name(String name)
Sets the value of
CfnHealthCheck.AlarmIdentifierProperty.getName() |
CfnHealthCheck.AlarmIdentifierProperty.Builder |
region(String region)
Sets the value of
CfnHealthCheck.AlarmIdentifierProperty.getRegion() |
@Stability(value=Stable) public CfnHealthCheck.AlarmIdentifierProperty.Builder name(String name)
CfnHealthCheck.AlarmIdentifierProperty.getName()
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.
this
@Stability(value=Stable) public CfnHealthCheck.AlarmIdentifierProperty.Builder region(String region)
CfnHealthCheck.AlarmIdentifierProperty.getRegion()
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 .this
@Stability(value=Stable) public CfnHealthCheck.AlarmIdentifierProperty build()
build
in interface software.amazon.jsii.Builder<CfnHealthCheck.AlarmIdentifierProperty>
CfnHealthCheck.AlarmIdentifierProperty
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.