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
@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
(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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVehicle>
- Returns:
- a newly built instance of
CfnVehicle
.
-