Interface GetVehicleResponse.Builder

  • Method Details

    • vehicleName

      GetVehicleResponse.Builder vehicleName(String vehicleName)

      The ID of the vehicle.

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

      The Amazon Resource Name (ARN) of the vehicle to retrieve information about.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the vehicle to retrieve information about.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelManifestArn

      GetVehicleResponse.Builder modelManifestArn(String modelManifestArn)

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

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

      GetVehicleResponse.Builder decoderManifestArn(String decoderManifestArn)

      The ARN of a decoder manifest associated with the vehicle.

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

      GetVehicleResponse.Builder attributes(Map<String,String> 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.
    • stateTemplates

      State templates associated with the vehicle.

      Parameters:
      stateTemplates - State templates associated with the vehicle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplates

      GetVehicleResponse.Builder stateTemplates(StateTemplateAssociation... stateTemplates)

      State templates associated with the vehicle.

      Parameters:
      stateTemplates - State templates associated with the vehicle.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateTemplates

      State templates 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 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:
    • creationTime

      GetVehicleResponse.Builder creationTime(Instant creationTime)

      The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).

      Parameters:
      creationTime - The time the vehicle was created in seconds since epoch (January 1, 1970 at midnight UTC time).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModificationTime

      GetVehicleResponse.Builder lastModificationTime(Instant lastModificationTime)

      The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).

      Parameters:
      lastModificationTime - The time the vehicle was last updated in seconds since epoch (January 1, 1970 at midnight UTC time).
      Returns:
      Returns a reference to this object so that method calls can be chained together.