Class CloudWatchAlarmTemplateReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.medialive.CloudWatchAlarmTemplateReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudWatchAlarmTemplateReference>
- Enclosing interface:
CloudWatchAlarmTemplateReference
@Stability(Stable)
public static final class CloudWatchAlarmTemplateReference.Builder
extends Object
implements software.amazon.jsii.Builder<CloudWatchAlarmTemplateReference>
A builder for
CloudWatchAlarmTemplateReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cloudWatchAlarmTemplateArn(String cloudWatchAlarmTemplateArn) Sets the value ofCloudWatchAlarmTemplateReference.getCloudWatchAlarmTemplateArn()identifier(String identifier) Sets the value ofCloudWatchAlarmTemplateReference.getIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cloudWatchAlarmTemplateArn
@Stability(Stable) public CloudWatchAlarmTemplateReference.Builder cloudWatchAlarmTemplateArn(String cloudWatchAlarmTemplateArn) Sets the value ofCloudWatchAlarmTemplateReference.getCloudWatchAlarmTemplateArn()- Parameters:
cloudWatchAlarmTemplateArn- The ARN of the CloudWatchAlarmTemplate resource. This parameter is required.- Returns:
this
-
identifier
Sets the value ofCloudWatchAlarmTemplateReference.getIdentifier()- Parameters:
identifier- The Identifier of the CloudWatchAlarmTemplate resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudWatchAlarmTemplateReference>- Returns:
- a new instance of
CloudWatchAlarmTemplateReference - Throws:
NullPointerException- if any required attribute was not provided
-