Class LogAlarmReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.cloudwatch.LogAlarmReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LogAlarmReference>
- Enclosing interface:
LogAlarmReference
@Stability(Stable)
public static final class LogAlarmReference.Builder
extends Object
implements software.amazon.jsii.Builder<LogAlarmReference>
A builder for
LogAlarmReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofLogAlarmReference.getAlarmName()build()Builds the configured instance.logAlarmArn(String logAlarmArn) Sets the value ofLogAlarmReference.getLogAlarmArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmName
Sets the value ofLogAlarmReference.getAlarmName()- Parameters:
alarmName- The AlarmName of the LogAlarm resource. This parameter is required.- Returns:
this
-
logAlarmArn
Sets the value ofLogAlarmReference.getLogAlarmArn()- Parameters:
logAlarmArn- The ARN of the LogAlarm resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LogAlarmReference>- Returns:
- a new instance of
LogAlarmReference - Throws:
NullPointerException- if any required attribute was not provided
-