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"

        To use attributes with Campaigns or State Templates, you must include them using the request parameters dataExtraDimensions and/or metadataExtraDimensions (for state templates only) when creating your campaign/state template.

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

        To use attributes with Campaigns or State Templates, you must include them using the request parameters dataExtraDimensions and/or metadataExtraDimensions (for state templates only) when creating your campaign/state template.

        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)
      • stateTemplates

        CreateVehicleRequest.Builder stateTemplates​(Collection<StateTemplateAssociation> stateTemplates)

        Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.

        Parameters:
        stateTemplates - Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateTemplates

        CreateVehicleRequest.Builder stateTemplates​(StateTemplateAssociation... stateTemplates)

        Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.

        Parameters:
        stateTemplates - Associate state templates with the vehicle. You can monitor the last known state of the vehicle in near real time.
        Returns:
        Returns a reference to this object so that method calls can be chained together.