Class CfnLaunchTemplatePropsMixin.MonitoringProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnLaunchTemplatePropsMixin.MonitoringProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.MonitoringProperty>
- Enclosing interface:
CfnLaunchTemplatePropsMixin.MonitoringProperty
@Stability(Stable)
public static final class CfnLaunchTemplatePropsMixin.MonitoringProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.MonitoringProperty>
A builder for
CfnLaunchTemplatePropsMixin.MonitoringProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLaunchTemplatePropsMixin.MonitoringProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnLaunchTemplatePropsMixin.MonitoringProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnLaunchTemplatePropsMixin.MonitoringProperty.Builder enabled(Boolean enabled) Sets the value ofCfnLaunchTemplatePropsMixin.MonitoringProperty.getEnabled()- Parameters:
enabled- Specifytrueto enable detailed monitoring. Otherwise, basic monitoring is enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnLaunchTemplatePropsMixin.MonitoringProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnLaunchTemplatePropsMixin.MonitoringProperty.getEnabled()- Parameters:
enabled- Specifytrueto enable detailed monitoring. Otherwise, basic monitoring is enabled.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.MonitoringProperty>- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.MonitoringProperty - Throws:
NullPointerException- if any required attribute was not provided
-