Class CfnVehicleProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleetwise.CfnVehicleProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVehicleProps>
- Enclosing interface:
CfnVehicleProps
@Stability(Stable)
public static final class CfnVehicleProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVehicleProps>
A builder for
CfnVehicleProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassociationBehavior
(String associationBehavior) Sets the value ofCfnVehicleProps.getAssociationBehavior()
attributes
(Map<String, String> attributes) Sets the value ofCfnVehicleProps.getAttributes()
attributes
(IResolvable attributes) Sets the value ofCfnVehicleProps.getAttributes()
build()
Builds the configured instance.decoderManifestArn
(String decoderManifestArn) Sets the value ofCfnVehicleProps.getDecoderManifestArn()
modelManifestArn
(String modelManifestArn) Sets the value ofCfnVehicleProps.getModelManifestArn()
Sets the value ofCfnVehicleProps.getName()
Sets the value ofCfnVehicleProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
decoderManifestArn
Sets the value ofCfnVehicleProps.getDecoderManifestArn()
- Parameters:
decoderManifestArn
- The Amazon Resource Name (ARN) of a decoder manifest associated with the vehicle to create. This parameter is required.- Returns:
this
-
modelManifestArn
Sets the value ofCfnVehicleProps.getModelManifestArn()
- 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
Sets the value ofCfnVehicleProps.getName()
- Parameters:
name
- The unique ID of the vehicle. This parameter is required.- Returns:
this
-
associationBehavior
Sets the value ofCfnVehicleProps.getAssociationBehavior()
- 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.- Returns:
this
-
attributes
Sets the value ofCfnVehicleProps.getAttributes()
- Parameters:
attributes
- (Optional) Static information about a vehicle in a key-value pair. For example:"engine Type"
:"v6"
- Returns:
this
-
attributes
Sets the value ofCfnVehicleProps.getAttributes()
- Parameters:
attributes
- (Optional) Static information about a vehicle in a key-value pair. For example:"engine Type"
:"v6"
- Returns:
this
-
tags
Sets the value ofCfnVehicleProps.getTags()
- Parameters:
tags
- (Optional) Metadata which can be used to manage the vehicle.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVehicleProps>
- Returns:
- a new instance of
CfnVehicleProps
- Throws:
NullPointerException
- if any required attribute was not provided
-