Class CfnCloudWatchAlarmTemplateGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnCloudWatchAlarmTemplateGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudWatchAlarmTemplateGroupProps>
- Enclosing interface:
CfnCloudWatchAlarmTemplateGroupProps
@Stability(Stable)
public static final class CfnCloudWatchAlarmTemplateGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudWatchAlarmTemplateGroupProps>
A builder for
CfnCloudWatchAlarmTemplateGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnCloudWatchAlarmTemplateGroupProps.getDescription()Sets the value ofCfnCloudWatchAlarmTemplateGroupProps.getName()Sets the value ofCfnCloudWatchAlarmTemplateGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnCloudWatchAlarmTemplateGroupProps.getName()- Parameters:
name- A resource's name. This parameter is required. Names must be unique within the scope of a resource type in a specific region.- Returns:
this
-
description
@Stability(Stable) public CfnCloudWatchAlarmTemplateGroupProps.Builder description(String description) Sets the value ofCfnCloudWatchAlarmTemplateGroupProps.getDescription()- Parameters:
description- A resource's optional description.- Returns:
this
-
tags
@Stability(Stable) public CfnCloudWatchAlarmTemplateGroupProps.Builder tags(Map<String, String> tags) Sets the value ofCfnCloudWatchAlarmTemplateGroupProps.getTags()- Parameters:
tags- Represents the tags associated with a resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCloudWatchAlarmTemplateGroupProps>- Returns:
- a new instance of
CfnCloudWatchAlarmTemplateGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-