Interface TriggerHistoryRecord.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TriggerHistoryRecord.Builder,,TriggerHistoryRecord> SdkBuilder<TriggerHistoryRecord.Builder,,TriggerHistoryRecord> SdkPojo
- Enclosing class:
TriggerHistoryRecord
@Mutable
@NotThreadSafe
public static interface TriggerHistoryRecord.Builder
extends SdkPojo, CopyableBuilder<TriggerHistoryRecord.Builder,TriggerHistoryRecord>
-
Method Summary
Modifier and TypeMethodDescriptiondestinations(Collection<ScheduledQueryDestination> destinations) Information about destination processing for this query execution.destinations(Consumer<ScheduledQueryDestination.Builder>... destinations) Information about destination processing for this query execution.destinations(ScheduledQueryDestination... destinations) Information about destination processing for this query execution.errorMessage(String errorMessage) Error message if the query execution failed.executionStatus(String executionStatus) The execution status of the scheduled query run.executionStatus(ExecutionStatus executionStatus) The execution status of the scheduled query run.The unique identifier for this query execution.triggeredTimestamp(Long triggeredTimestamp) The timestamp when the scheduled query execution was triggered.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 this query execution.
- Parameters:
queryId- The unique identifier for this query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStatus
The execution status of the scheduled query run.
- Parameters:
executionStatus- The execution status of the scheduled query run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStatus
The execution status of the scheduled query run.
- Parameters:
executionStatus- The execution status of the scheduled query run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggeredTimestamp
The timestamp when the scheduled query execution was triggered.
- Parameters:
triggeredTimestamp- The timestamp when the scheduled query execution was triggered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
Error message if the query execution failed.
- Parameters:
errorMessage- Error message if the query execution failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Information about destination processing for this query execution.
- Parameters:
destinations- Information about destination processing for this query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
Information about destination processing for this query execution.
- Parameters:
destinations- Information about destination processing for this query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
TriggerHistoryRecord.Builder destinations(Consumer<ScheduledQueryDestination.Builder>... destinations) Information about destination processing for this query execution.
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:
-