Class CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty>
- Enclosing interface:
CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty
@Stability(Stable)
public static final class CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty>
A builder for
CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.Builder enabled(Boolean enabled) Sets the value ofCfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.getEnabled()- Parameters:
enabled- Enables monitoring for the instance. Default:false- Returns:
this
-
enabled
@Stability(Stable) public CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnSpotFleetPropsMixin.SpotFleetMonitoringProperty.getEnabled()- Parameters:
enabled- Enables monitoring for the instance. Default:false- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty>- Returns:
- a new instance of
CfnSpotFleetPropsMixin.SpotFleetMonitoringProperty - Throws:
NullPointerException- if any required attribute was not provided
-