Class CfnVehicleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotfleetwise.CfnVehicleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVehicleMixinProps>
- Enclosing interface:
CfnVehicleMixinProps
@Stability(Stable)
public static final class CfnVehicleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVehicleMixinProps>
A builder for
CfnVehicleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociationBehavior(String associationBehavior) Sets the value ofCfnVehicleMixinProps.getAssociationBehavior()attributes(Map<String, String> attributes) Sets the value ofCfnVehicleMixinProps.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnVehicleMixinProps.getAttributes()build()Builds the configured instance.decoderManifestArn(String decoderManifestArn) Sets the value ofCfnVehicleMixinProps.getDecoderManifestArn()modelManifestArn(String modelManifestArn) Sets the value ofCfnVehicleMixinProps.getModelManifestArn()Sets the value ofCfnVehicleMixinProps.getName()stateTemplates(List<? extends Object> stateTemplates) Sets the value ofCfnVehicleMixinProps.getStateTemplates()stateTemplates(IResolvable stateTemplates) Sets the value ofCfnVehicleMixinProps.getStateTemplates()Sets the value ofCfnVehicleMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
associationBehavior
@Stability(Stable) public CfnVehicleMixinProps.Builder associationBehavior(String associationBehavior) Sets the value ofCfnVehicleMixinProps.getAssociationBehavior()- Parameters:
associationBehavior- An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.- Returns:
this
-
attributes
Sets the value ofCfnVehicleMixinProps.getAttributes()- Parameters:
attributes- Static information about a vehicle in a key-value pair. For example:"engine Type":"v6"- Returns:
this
-
attributes
Sets the value ofCfnVehicleMixinProps.getAttributes()- Parameters:
attributes- Static information about a vehicle in a key-value pair. For example:"engine Type":"v6"- Returns:
this
-
decoderManifestArn
@Stability(Stable) public CfnVehicleMixinProps.Builder decoderManifestArn(String decoderManifestArn) Sets the value ofCfnVehicleMixinProps.getDecoderManifestArn()- Parameters:
decoderManifestArn- The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.- Returns:
this
-
modelManifestArn
Sets the value ofCfnVehicleMixinProps.getModelManifestArn()- Parameters:
modelManifestArn- The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.- Returns:
this
-
name
Sets the value ofCfnVehicleMixinProps.getName()- Parameters:
name- The unique ID of the vehicle.- Returns:
this
-
stateTemplates
Sets the value ofCfnVehicleMixinProps.getStateTemplates()- Parameters:
stateTemplates- Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.- Returns:
this
-
stateTemplates
@Stability(Stable) public CfnVehicleMixinProps.Builder stateTemplates(List<? extends Object> stateTemplates) Sets the value ofCfnVehicleMixinProps.getStateTemplates()- Parameters:
stateTemplates- Associate state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.- Returns:
this
-
tags
Sets the value ofCfnVehicleMixinProps.getTags()- Parameters:
tags- Metadata which can be used to manage the vehicle.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVehicleMixinProps>- Returns:
- a new instance of
CfnVehicleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-