Class CfnVehicle.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnVehicle.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVehicle>
- Enclosing class:
CfnVehicle
@Stability(Stable)
public static final class CfnVehicle.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVehicle>
A fluent builder for
CfnVehicle
.-
Method Summary
Modifier and TypeMethodDescriptionassociationBehavior
(String associationBehavior) An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.attributes
(Map<String, String> attributes) Static information about a vehicle in a key-value pair.attributes
(IResolvable attributes) Static information about a vehicle in a key-value pair.build()
static CfnVehicle.Builder
decoderManifestArn
(String decoderManifestArn) The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.modelManifestArn
(String modelManifestArn) The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.The unique ID of the vehicle.stateTemplates
(List<? extends Object> stateTemplates) Associate state templates to track the state of the vehicle.stateTemplates
(IResolvable stateTemplates) Associate state templates to track the state of the vehicle.Metadata which can be used to manage the vehicle.
-
Method Details
-
create
@Stability(Stable) public static CfnVehicle.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnVehicle.Builder
.
-
decoderManifestArn
The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create.- Parameters:
decoderManifestArn
- The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create. This parameter is required.- Returns:
this
- See Also:
-
modelManifestArn
The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from.- Parameters:
modelManifestArn
- The Amazon Resource Name (ARN) of the vehicle model (model manifest) to create the vehicle from. This parameter is required.- Returns:
this
- See Also:
-
name
The unique ID of the vehicle.- Parameters:
name
- The unique ID of the vehicle. This parameter is required.- Returns:
this
- See Also:
-
associationBehavior
An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.- Parameters:
associationBehavior
- An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle. This parameter is required.- Returns:
this
- See Also:
-
attributes
Static information about a vehicle in a key-value pair.For example:
"engine Type"
:"v6"
- Parameters:
attributes
- Static information about a vehicle in a key-value pair. This parameter is required.- Returns:
this
- See Also:
-
attributes
Static information about a vehicle in a key-value pair.For example:
"engine Type"
:"v6"
- Parameters:
attributes
- Static information about a vehicle in a key-value pair. This parameter is required.- Returns:
this
- See Also:
-
stateTemplates
Associate state templates to track the state of the vehicle.State templates determine which signal updates the vehicle sends to the cloud.
- Parameters:
stateTemplates
- Associate state templates to track the state of the vehicle. This parameter is required.- Returns:
this
- See Also:
-
stateTemplates
Associate state templates to track the state of the vehicle.State templates determine which signal updates the vehicle sends to the cloud.
- Parameters:
stateTemplates
- Associate state templates to track the state of the vehicle. This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata which can be used to manage the vehicle.- Parameters:
tags
- Metadata which can be used to manage the vehicle. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVehicle>
- Returns:
- a newly built instance of
CfnVehicle
.
-