Interface UpdateVehicleRequestItem.Builder

  • Method Details

    • vehicleName

      UpdateVehicleRequestItem.Builder vehicleName(String vehicleName)

      The unique ID of the vehicle to update.

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

      UpdateVehicleRequestItem.Builder modelManifestArn(String modelManifestArn)

      The ARN of the vehicle model (model manifest) associated with the vehicle to update.

      Parameters:
      modelManifestArn - The ARN of the vehicle model (model manifest) associated with the vehicle to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • decoderManifestArn

      UpdateVehicleRequestItem.Builder decoderManifestArn(String decoderManifestArn)

      The ARN of the signal decoder manifest associated with the vehicle to update.

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

      Static information about a vehicle in a key-value pair. For example:

      "engineType" : "1.3 L R2"

      Parameters:
      attributes - Static information about a vehicle in a key-value pair. For example:

      "engineType" : "1.3 L R2"

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

      UpdateVehicleRequestItem.Builder attributeUpdateMode(String attributeUpdateMode)

      The method the specified attributes will update the existing attributes on the vehicle. Use Overwite to replace the vehicle attributes with the specified attributes. Or use Merge to combine all attributes.

      This is required if attributes are present in the input.

      Parameters:
      attributeUpdateMode - The method the specified attributes will update the existing attributes on the vehicle. Use Overwite to replace the vehicle attributes with the specified attributes. Or use Merge to combine all attributes.

      This is required if attributes are present in the input.

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

      UpdateVehicleRequestItem.Builder attributeUpdateMode(UpdateMode attributeUpdateMode)

      The method the specified attributes will update the existing attributes on the vehicle. Use Overwite to replace the vehicle attributes with the specified attributes. Or use Merge to combine all attributes.

      This is required if attributes are present in the input.

      Parameters:
      attributeUpdateMode - The method the specified attributes will update the existing attributes on the vehicle. Use Overwite to replace the vehicle attributes with the specified attributes. Or use Merge to combine all attributes.

      This is required if attributes are present in the input.

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

      UpdateVehicleRequestItem.Builder stateTemplatesToAdd(Collection<StateTemplateAssociation> stateTemplatesToAdd)

      Associate additional state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.

      Parameters:
      stateTemplatesToAdd - Associate additional state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplatesToAdd

      UpdateVehicleRequestItem.Builder stateTemplatesToAdd(StateTemplateAssociation... stateTemplatesToAdd)

      Associate additional state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.

      Parameters:
      stateTemplatesToAdd - Associate additional state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplatesToAdd

      UpdateVehicleRequestItem.Builder stateTemplatesToAdd(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToAdd)

      Associate additional state templates to track the state of the vehicle. State templates determine which signal updates the vehicle sends to the cloud.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to stateTemplatesToAdd(List<StateTemplateAssociation>).

      Parameters:
      stateTemplatesToAdd - a consumer that will call methods on StateTemplateAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateTemplatesToRemove

      UpdateVehicleRequestItem.Builder stateTemplatesToRemove(Collection<String> stateTemplatesToRemove)

      Remove existing state template associations from the vehicle.

      Parameters:
      stateTemplatesToRemove - Remove existing state template associations from the vehicle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplatesToRemove

      UpdateVehicleRequestItem.Builder stateTemplatesToRemove(String... stateTemplatesToRemove)

      Remove existing state template associations from the vehicle.

      Parameters:
      stateTemplatesToRemove - Remove existing state template associations from the vehicle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplatesToUpdate

      UpdateVehicleRequestItem.Builder stateTemplatesToUpdate(Collection<StateTemplateAssociation> stateTemplatesToUpdate)

      Change the stateTemplateUpdateStrategy of state templates already associated with the vehicle.

      Parameters:
      stateTemplatesToUpdate - Change the stateTemplateUpdateStrategy of state templates already associated with the vehicle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplatesToUpdate

      UpdateVehicleRequestItem.Builder stateTemplatesToUpdate(StateTemplateAssociation... stateTemplatesToUpdate)

      Change the stateTemplateUpdateStrategy of state templates already associated with the vehicle.

      Parameters:
      stateTemplatesToUpdate - Change the stateTemplateUpdateStrategy of state templates already associated with the vehicle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplatesToUpdate

      UpdateVehicleRequestItem.Builder stateTemplatesToUpdate(Consumer<StateTemplateAssociation.Builder>... stateTemplatesToUpdate)

      Change the stateTemplateUpdateStrategy of state templates already associated with the vehicle.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to stateTemplatesToUpdate(List<StateTemplateAssociation>).

      Parameters:
      stateTemplatesToUpdate - a consumer that will call methods on StateTemplateAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: