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 Details

    • create

      @Stability(Stable) public static CfnVehicle.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnVehicle.Builder.
    • decoderManifestArn

      @Stability(Stable) public CfnVehicle.Builder decoderManifestArn(String 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

      @Stability(Stable) public CfnVehicle.Builder modelManifestArn(String 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

      @Stability(Stable) public CfnVehicle.Builder name(String name)
      The unique ID of the vehicle.

      Parameters:
      name - The unique ID of the vehicle. This parameter is required.
      Returns:
      this
    • associationBehavior

      @Stability(Stable) public CfnVehicle.Builder associationBehavior(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.

      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

      @Stability(Stable) public CfnVehicle.Builder attributes(IResolvable 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

      @Stability(Stable) public CfnVehicle.Builder attributes(Map<String,String> 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

      @Stability(Stable) public CfnVehicle.Builder tags(List<? extends CfnTag> 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

      @Stability(Stable) public CfnVehicle build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnVehicle>
      Returns:
      a newly built instance of CfnVehicle.