Interface GetOtaTaskResponse.Builder

  • Method Details

    • taskId

      The id of the over-the-air (OTA) task.

      Parameters:
      taskId - The id of the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskArn

      The Amazon Resource Name (ARN) of the over-the-air (OTA) task

      Parameters:
      taskArn - The Amazon Resource Name (ARN) of the over-the-air (OTA) task
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetOtaTaskResponse.Builder description(String description)

      The description of the over-the-air (OTA) task.

      Parameters:
      description - The description of the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Url

      The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.

      Parameters:
      s3Url - The URL to the Amazon S3 bucket where the over-the-air (OTA) task is stored.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      GetOtaTaskResponse.Builder protocol(String protocol)

      The connection protocol the over-the-air (OTA) task uses to update the device.

      Parameters:
      protocol - The connection protocol the over-the-air (OTA) task uses to update the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      The connection protocol the over-the-air (OTA) task uses to update the device.

      Parameters:
      protocol - The connection protocol the over-the-air (OTA) task uses to update the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • otaType

      The frequency type for the over-the-air (OTA) task.

      Parameters:
      otaType - The frequency type for the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • otaType

      The frequency type for the over-the-air (OTA) task.

      Parameters:
      otaType - The frequency type for the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • otaTargetQueryString

      GetOtaTaskResponse.Builder otaTargetQueryString(String otaTargetQueryString)

      The query string to add things to the thing group.

      Parameters:
      otaTargetQueryString - The query string to add things to the thing group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • otaMechanism

      GetOtaTaskResponse.Builder otaMechanism(String otaMechanism)

      The deployment mechanism for the over-the-air (OTA) task.

      Parameters:
      otaMechanism - The deployment mechanism for the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • otaMechanism

      GetOtaTaskResponse.Builder otaMechanism(OtaMechanism otaMechanism)

      The deployment mechanism for the over-the-air (OTA) task.

      Parameters:
      otaMechanism - The deployment mechanism for the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • target

      The device targeted for the over-the-air (OTA) task.

      Parameters:
      target - The device targeted for the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      The device targeted for the over-the-air (OTA) task.

      Parameters:
      target - The device targeted for the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetOtaTaskResponse.Builder createdAt(Instant createdAt)

      The timestamp value of when the over-the-air (OTA) task was created.

      Parameters:
      createdAt - The timestamp value of when the over-the-air (OTA) task was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetOtaTaskResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The timestamp value of when the over-the-air (OTA) task was last updated at.

      Parameters:
      lastUpdatedAt - The timestamp value of when the over-the-air (OTA) task was last updated at.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskConfigurationId

      GetOtaTaskResponse.Builder taskConfigurationId(String taskConfigurationId)

      The identifier for the over-the-air (OTA) task configuration.

      Parameters:
      taskConfigurationId - The identifier for the over-the-air (OTA) task configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskProcessingDetails

      GetOtaTaskResponse.Builder taskProcessingDetails(TaskProcessingDetails taskProcessingDetails)

      The processing details of all over-the-air (OTA) tasks.

      Parameters:
      taskProcessingDetails - The processing details of all over-the-air (OTA) tasks.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskProcessingDetails

      default GetOtaTaskResponse.Builder taskProcessingDetails(Consumer<TaskProcessingDetails.Builder> taskProcessingDetails)

      The processing details of all over-the-air (OTA) tasks.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to taskProcessingDetails(TaskProcessingDetails).

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

      GetOtaTaskResponse.Builder otaSchedulingConfig(OtaTaskSchedulingConfig otaSchedulingConfig)
      Sets the value of the OtaSchedulingConfig property for this object.
      Parameters:
      otaSchedulingConfig - The new value for the OtaSchedulingConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • otaSchedulingConfig

      default GetOtaTaskResponse.Builder otaSchedulingConfig(Consumer<OtaTaskSchedulingConfig.Builder> otaSchedulingConfig)
      Sets the value of the OtaSchedulingConfig property for this object. This is a convenience method that creates an instance of the OtaTaskSchedulingConfig.Builder avoiding the need to create one manually via OtaTaskSchedulingConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to otaSchedulingConfig(OtaTaskSchedulingConfig).

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

      GetOtaTaskResponse.Builder otaTaskExecutionRetryConfig(OtaTaskExecutionRetryConfig otaTaskExecutionRetryConfig)
      Sets the value of the OtaTaskExecutionRetryConfig property for this object.
      Parameters:
      otaTaskExecutionRetryConfig - The new value for the OtaTaskExecutionRetryConfig property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • otaTaskExecutionRetryConfig

      default GetOtaTaskResponse.Builder otaTaskExecutionRetryConfig(Consumer<OtaTaskExecutionRetryConfig.Builder> otaTaskExecutionRetryConfig)
      Sets the value of the OtaTaskExecutionRetryConfig property for this object. This is a convenience method that creates an instance of the OtaTaskExecutionRetryConfig.Builder avoiding the need to create one manually via OtaTaskExecutionRetryConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to otaTaskExecutionRetryConfig(OtaTaskExecutionRetryConfig).

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

      The status of the over-the-air (OTA) task.

      Parameters:
      status - The status of the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the over-the-air (OTA) task.

      Parameters:
      status - The status of the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A set of key/value pairs that are used to manage the over-the-air (OTA) task.

      Parameters:
      tags - A set of key/value pairs that are used to manage the over-the-air (OTA) task.
      Returns:
      Returns a reference to this object so that method calls can be chained together.