Interface CreateVehicleRequest.Builder

    • Method Detail

      • vehicleName

        CreateVehicleRequest.Builder vehicleName​(String vehicleName)

        The unique ID of the vehicle to create.

        Parameters:
        vehicleName - The unique ID of the vehicle to create.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • modelManifestArn

        CreateVehicleRequest.Builder modelManifestArn​(String modelManifestArn)

        The Amazon Resource Name ARN of a vehicle model.

        Parameters:
        modelManifestArn - The Amazon Resource Name ARN of a vehicle model.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • decoderManifestArn

        CreateVehicleRequest.Builder decoderManifestArn​(String decoderManifestArn)

        The ARN of a decoder manifest.

        Parameters:
        decoderManifestArn - The ARN of a decoder manifest.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        CreateVehicleRequest.Builder attributes​(Map<String,​String> attributes)

        Static information about a vehicle in a key-value pair. For example: "engineType" : "1.3 L R2"

        A campaign must include the keys (attribute names) in dataExtraDimensions for them to display in Amazon Timestream.

        Parameters:
        attributes - Static information about a vehicle in a key-value pair. For example: "engineType" : "1.3 L R2"

        A campaign must include the keys (attribute names) in dataExtraDimensions for them to display in Amazon Timestream.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associationBehavior

        CreateVehicleRequest.Builder associationBehavior​(String associationBehavior)

        An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.

        Default:

        Parameters:
        associationBehavior - An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.

        Default:

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VehicleAssociationBehavior, VehicleAssociationBehavior
      • associationBehavior

        CreateVehicleRequest.Builder associationBehavior​(VehicleAssociationBehavior associationBehavior)

        An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.

        Default:

        Parameters:
        associationBehavior - An option to create a new Amazon Web Services IoT thing when creating a vehicle, or to validate an existing Amazon Web Services IoT thing as a vehicle.

        Default:

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VehicleAssociationBehavior, VehicleAssociationBehavior
      • tags

        CreateVehicleRequest.Builder tags​(Collection<Tag> tags)

        Metadata that can be used to manage the vehicle.

        Parameters:
        tags - Metadata that can be used to manage the vehicle.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVehicleRequest.Builder tags​(Tag... tags)

        Metadata that can be used to manage the vehicle.

        Parameters:
        tags - Metadata that can be used to manage the vehicle.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateVehicleRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        Metadata that can be used to manage the vehicle.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)