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