Interface DescribeEnrichmentJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeEnrichmentJobResponse.Builder,,DescribeEnrichmentJobResponse> IoTSiteWiseResponse.Builder,SdkBuilder<DescribeEnrichmentJobResponse.Builder,,DescribeEnrichmentJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeEnrichmentJobResponse
-
Method Summary
Modifier and TypeMethodDescriptioncancelledAt(Instant cancelledAt) Timestamp when the job was cancelled in ISO 8601 format.completedAt(Instant completedAt) Timestamp when the job completed successfully in ISO 8601 format.Timestamp when the enrichment job was created in ISO 8601 format.failureMessage(String failureMessage) Human-readable error message explaining why the job failed.jobConfiguration(Consumer<EnrichmentJobConfiguration.Builder> jobConfiguration) The complete job configuration as originally submitted, including the analysis type and parameters.jobConfiguration(EnrichmentJobConfiguration jobConfiguration) The complete job configuration as originally submitted, including the analysis type and parameters.The unique identifier of the enrichment job.The type of enrichment job, derived from the job configuration.The type of enrichment job, derived from the job configuration.Current status of the enrichment job.status(EnrichmentJobStatus status) Current status of the enrichment job.Timestamp when the job status was last updated in ISO 8601 format.workspaceName(String workspaceName) The name of the IoT SiteWise workspace containing the job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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
default DescribeEnrichmentJobResponse.Builder jobConfiguration(Consumer<EnrichmentJobConfiguration.Builder> 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 theEnrichmentJobConfiguration.Builderavoiding the need to create one manually viaEnrichmentJobConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobConfiguration(EnrichmentJobConfiguration).- Parameters:
jobConfiguration- a consumer that will call methods onEnrichmentJobConfiguration.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
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.
-