Class CfnNotificationConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.notifications.CfnNotificationConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotificationConfigurationMixinProps>
- Enclosing interface:
CfnNotificationConfigurationMixinProps
@Stability(Stable)
public static final class CfnNotificationConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotificationConfigurationMixinProps>
A builder for
CfnNotificationConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaggregationDuration(String aggregationDuration) Sets the value ofCfnNotificationConfigurationMixinProps.getAggregationDuration()build()Builds the configured instance.description(String description) Sets the value ofCfnNotificationConfigurationMixinProps.getDescription()Sets the value ofCfnNotificationConfigurationMixinProps.getName()Sets the value ofCfnNotificationConfigurationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationDuration
@Stability(Stable) public CfnNotificationConfigurationMixinProps.Builder aggregationDuration(String aggregationDuration) Sets the value ofCfnNotificationConfigurationMixinProps.getAggregationDuration()- Parameters:
aggregationDuration- The aggregation preference of theNotificationConfiguration.- Values:
LONG- Aggregate notifications for long periods of time (12 hours).
SHORT- Aggregate notifications for short periods of time (5 minutes).
NONE- Don't aggregate notifications.
- Returns:
this
-
description
@Stability(Stable) public CfnNotificationConfigurationMixinProps.Builder description(String description) Sets the value ofCfnNotificationConfigurationMixinProps.getDescription()- Parameters:
description- The description of theNotificationConfiguration.- Returns:
this
-
name
Sets the value ofCfnNotificationConfigurationMixinProps.getName()- Parameters:
name- The name of theNotificationConfiguration. Supports RFC 3986's unreserved characters.- Returns:
this
-
tags
@Stability(Stable) public CfnNotificationConfigurationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnNotificationConfigurationMixinProps.getTags()- Parameters:
tags- A map of tags assigned to aNotificationConfiguration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotificationConfigurationMixinProps>- Returns:
- a new instance of
CfnNotificationConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-