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