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) (Optional) 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) (Optional) Static information about a vehicle in a key-value pair.attributes
(IResolvable attributes) (Optional) 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.(Optional) Metadata which can be used to manage the vehicle.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
-
name
The unique ID of the vehicle.- Parameters:
name
- The unique ID of the vehicle. This parameter is required.- Returns:
this
-
associationBehavior
(Optional) An option to create a new AWS IoT thing when creating a vehicle, or to validate an existing thing as a vehicle.- Parameters:
associationBehavior
- (Optional) 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
-
attributes
(Optional) Static information about a vehicle in a key-value pair.For example:
"engine Type"
:"v6"
- Parameters:
attributes
- (Optional) Static information about a vehicle in a key-value pair. This parameter is required.- Returns:
this
-
attributes
(Optional) Static information about a vehicle in a key-value pair.For example:
"engine Type"
:"v6"
- Parameters:
attributes
- (Optional) Static information about a vehicle in a key-value pair. This parameter is required.- Returns:
this
-
tags
(Optional) Metadata which can be used to manage the vehicle.- Parameters:
tags
- (Optional) Metadata which can be used to manage the vehicle. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVehicle>
- Returns:
- a newly built instance of
CfnVehicle
.
-