Interface DescribeEnrichmentJobResponse.Builder

  • Method Details

    • jobId

      The unique identifier of the enrichment job.

      Parameters:
      jobId - The unique identifier of the enrichment job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Current status of the enrichment job. Possible values:

      • PENDING: Job is waiting to start processing
      • RUNNING: Job is actively processing video data
      • COMPLETED: Job finished successfully; embeddings available in IoT SiteWise
      • FAILED: Job encountered an error; see failureMessage for details
      • TIMED_OUT: Job exceeded maximum processing time limit
      • CANCELLED: Job was cancelled by user request
      Parameters:
      status - Current status of the enrichment job. Possible values:

      • PENDING: Job is waiting to start processing
      • RUNNING: Job is actively processing video data
      • COMPLETED: Job finished successfully; embeddings available in IoT SiteWise
      • FAILED: Job encountered an error; see failureMessage for details
      • TIMED_OUT: Job exceeded maximum processing time limit
      • CANCELLED: Job was cancelled by user request
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Current status of the enrichment job. Possible values:

      • PENDING: Job is waiting to start processing
      • RUNNING: Job is actively processing video data
      • COMPLETED: Job finished successfully; embeddings available in IoT SiteWise
      • FAILED: Job encountered an error; see failureMessage for details
      • TIMED_OUT: Job exceeded maximum processing time limit
      • CANCELLED: Job was cancelled by user request
      Parameters:
      status - Current status of the enrichment job. Possible values:

      • PENDING: Job is waiting to start processing
      • RUNNING: Job is actively processing video data
      • COMPLETED: Job finished successfully; embeddings available in IoT SiteWise
      • FAILED: Job encountered an error; see failureMessage for details
      • TIMED_OUT: Job exceeded maximum processing time limit
      • CANCELLED: Job was cancelled by user request
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workspaceName

      DescribeEnrichmentJobResponse.Builder workspaceName(String workspaceName)

      The name of the IoT SiteWise workspace containing the job.

      Parameters:
      workspaceName - The name of the IoT SiteWise workspace containing the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobType

      The type of enrichment job, derived from the job configuration. Currently EVENT_DETECTION is the only supported type.

      Parameters:
      jobType - The type of enrichment job, derived from the job configuration. Currently EVENT_DETECTION is the only supported type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobType

      The type of enrichment job, derived from the job configuration. Currently EVENT_DETECTION is the only supported type.

      Parameters:
      jobType - The type of enrichment job, derived from the job configuration. Currently EVENT_DETECTION is the only supported type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobConfiguration

      The complete job configuration as originally submitted, including the analysis type and parameters. For event detection jobs, this includes the dataset ID, time series identifier, and trim settings defining the analysis time range.

      Parameters:
      jobConfiguration - The complete job configuration as originally submitted, including the analysis type and parameters. For event detection jobs, this includes the dataset ID, time series identifier, and trim settings defining the analysis time range.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobConfiguration

      The complete job configuration as originally submitted, including the analysis type and parameters. For event detection jobs, this includes the dataset ID, time series identifier, and trim settings defining the analysis time range.

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

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

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

      Timestamp when the enrichment job was created in ISO 8601 format.

      Parameters:
      createdAt - Timestamp when the enrichment job was created in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      Timestamp when the job status was last updated in ISO 8601 format. Useful for tracking recent activity.

      Parameters:
      updatedAt - Timestamp when the job status was last updated in ISO 8601 format. Useful for tracking recent activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedAt

      Timestamp when the job completed successfully in ISO 8601 format. Only present if status is COMPLETED.

      Parameters:
      completedAt - Timestamp when the job completed successfully in ISO 8601 format. Only present if status is COMPLETED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cancelledAt

      Timestamp when the job was cancelled in ISO 8601 format. Only present if status is CANCELLED.

      Parameters:
      cancelledAt - Timestamp when the job was cancelled in ISO 8601 format. Only present if status is CANCELLED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureMessage

      DescribeEnrichmentJobResponse.Builder failureMessage(String failureMessage)

      Human-readable error message explaining why the job failed. Only present if status is FAILED. Use this information to diagnose configuration issues, permission problems, or data processing errors.

      Parameters:
      failureMessage - Human-readable error message explaining why the job failed. Only present if status is FAILED. Use this information to diagnose configuration issues, permission problems, or data processing errors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.