Class CfnMonitorPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.networkmonitor.CfnMonitorPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMonitorPropsMixin>
- Enclosing class:
CfnMonitorPropsMixin
@Stability(Stable)
public static final class CfnMonitorPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMonitorPropsMixin>
A fluent builder for
CfnMonitorPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriod(Number aggregationPeriod) The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch.build()static CfnMonitorPropsMixin.Buildercreate()static CfnMonitorPropsMixin.Buildercreate(CfnPropertyMixinOptions options) monitorName(String monitorName) The name identifying the monitor.The tags for the monitor.
-
Method Details
-
create
@Stability(Stable) public static CfnMonitorPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnMonitorPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnMonitorPropsMixin.Builder.
-
aggregationPeriod
The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch.Valid values are either 30 or 60.
- Parameters:
aggregationPeriod- The time, in seconds, that metrics are aggregated and sent to Amazon CloudWatch. This parameter is required.- Returns:
this- See Also:
-
monitorName
The name identifying the monitor.It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.
- Parameters:
monitorName- The name identifying the monitor. This parameter is required.- Returns:
this- See Also:
-
tags
The tags for the monitor.- Parameters:
tags- The tags for the monitor. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMonitorPropsMixin>- Returns:
- a newly built instance of
CfnMonitorPropsMixin.
-