Class CfnHealthCheckPropsMixin.AlarmIdentifierProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnHealthCheckPropsMixin.AlarmIdentifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHealthCheckPropsMixin.AlarmIdentifierProperty>
- Enclosing interface:
CfnHealthCheckPropsMixin.AlarmIdentifierProperty
@Stability(Stable)
public static final class CfnHealthCheckPropsMixin.AlarmIdentifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHealthCheckPropsMixin.AlarmIdentifierProperty>
A builder for
CfnHealthCheckPropsMixin.AlarmIdentifierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHealthCheckPropsMixin.AlarmIdentifierProperty.getName()Sets the value ofCfnHealthCheckPropsMixin.AlarmIdentifierProperty.getName()Sets the value ofCfnHealthCheckPropsMixin.AlarmIdentifierProperty.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnHealthCheckPropsMixin.AlarmIdentifierProperty.Builder name(String name) Sets the value ofCfnHealthCheckPropsMixin.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.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
-
name
@Stability(Stable) public CfnHealthCheckPropsMixin.AlarmIdentifierProperty.Builder name(IAlarmRef name) Sets the value ofCfnHealthCheckPropsMixin.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.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
@Stability(Stable) public CfnHealthCheckPropsMixin.AlarmIdentifierProperty.Builder region(String region) Sets the value ofCfnHealthCheckPropsMixin.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. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnHealthCheckPropsMixin.AlarmIdentifierProperty>- Returns:
- a new instance of
CfnHealthCheckPropsMixin.AlarmIdentifierProperty - Throws:
NullPointerException- if any required attribute was not provided
-