Class CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty>
- Enclosing interface:
CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty
@Stability(Stable)
public static final class CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty>
A builder for
CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.getOnChange()Sets the value ofCfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.getPeriodic()periodic(IResolvable periodic) Sets the value ofCfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.getPeriodic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
onChange
@Stability(Stable) public CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.Builder onChange(Object onChange) Sets the value ofCfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.getOnChange()- Parameters:
onChange- the value to be set.- Returns:
this
-
periodic
@Stability(Stable) public CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.Builder periodic(IResolvable periodic) Sets the value ofCfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.getPeriodic()- Parameters:
periodic- the value to be set.- Returns:
this
-
periodic
@Stability(Stable) public CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.Builder periodic(CfnVehiclePropsMixin.PeriodicStateTemplateUpdateStrategyProperty periodic) Sets the value ofCfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty.getPeriodic()- Parameters:
periodic- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty>- Returns:
- a new instance of
CfnVehiclePropsMixin.StateTemplateUpdateStrategyProperty - Throws:
NullPointerException- if any required attribute was not provided
-