Interface TriggerHistoryRecord.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TriggerHistoryRecord.Builder,,TriggerHistoryRecord> SdkBuilder<TriggerHistoryRecord.Builder,,TriggerHistoryRecord> SdkPojo
- Enclosing class:
TriggerHistoryRecord
-
Method Summary
Modifier and TypeMethodDescriptiondestinations(Collection<ScheduledQueryDestination> destinations) The list of destinations where the scheduled query results were delivered for this execution.destinations(Consumer<ScheduledQueryDestination.Builder>... destinations) The list of destinations where the scheduled query results were delivered for this execution.destinations(ScheduledQueryDestination... destinations) The list of destinations where the scheduled query results were delivered for this execution.errorMessage(String errorMessage) The error message if the scheduled query execution failed.executionStatus(String executionStatus) The status of the query execution (Running, Complete, Failed, Timeout, or InvalidQuery).executionStatus(ExecutionStatus executionStatus) The status of the query execution (Running, Complete, Failed, Timeout, or InvalidQuery).The unique identifier for the query execution.triggeredTimestamp(Long triggeredTimestamp) The time when the scheduled query was triggered, in Unix epoch time.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
queryId
The unique identifier for the query execution.
- Parameters:
queryId- The unique identifier for the query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStatus
The status of the query execution (Running, Complete, Failed, Timeout, or InvalidQuery).
- Parameters:
executionStatus- The status of the query execution (Running, Complete, Failed, Timeout, or InvalidQuery).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The status of the query execution (Running, Complete, Failed, Timeout, or InvalidQuery).
- Parameters:
executionStatus- The status of the query execution (Running, Complete, Failed, Timeout, or InvalidQuery).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggeredTimestamp
The time when the scheduled query was triggered, in Unix epoch time.
- Parameters:
triggeredTimestamp- The time when the scheduled query was triggered, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The error message if the scheduled query execution failed. This field is only populated when the execution status indicates a failure.
- Parameters:
errorMessage- The error message if the scheduled query execution failed. This field is only populated when the execution status indicates a failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets configured for the scheduled query.
- Parameters:
destinations- The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets configured for the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets configured for the scheduled query.
- Parameters:
destinations- The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets configured for the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
TriggerHistoryRecord.Builder destinations(Consumer<ScheduledQueryDestination.Builder>... destinations) The list of destinations where the scheduled query results were delivered for this execution. This includes S3 buckets configured for the scheduled query.
This is a convenience method that creates an instance of theScheduledQueryDestination.Builderavoiding the need to create one manually viaScheduledQueryDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinations(List<ScheduledQueryDestination>).- Parameters:
destinations- a consumer that will call methods onScheduledQueryDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-