Interface CreateVehicleRequest.Builder

  • Method Details

    • 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:
    • 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:
    • 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

      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

      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<Tag>).

      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:
    • 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.
    • stateTemplates

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

      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 stateTemplates(List<StateTemplateAssociation>).

      Parameters:
      stateTemplates - 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:
    • overrideConfiguration

      CreateVehicleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.