Class AlertReference.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutmetrics.AlertReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlertReference>
- Enclosing interface:
AlertReference
@Stability(Stable)
public static final class AlertReference.Builder
extends Object
implements software.amazon.jsii.Builder<AlertReference>
A builder for
AlertReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAlertReference.getAlertArn()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alertArn
Sets the value ofAlertReference.getAlertArn()
- Parameters:
alertArn
- The Arn of the Alert resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AlertReference>
- Returns:
- a new instance of
AlertReference
- Throws:
NullPointerException
- if any required attribute was not provided
-