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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TriggerHistoryRecord.Builderdestinations(Collection<ScheduledQueryDestination> destinations)Information about destination processing for this query execution.TriggerHistoryRecord.Builderdestinations(Consumer<ScheduledQueryDestination.Builder>... destinations)Information about destination processing for this query execution.TriggerHistoryRecord.Builderdestinations(ScheduledQueryDestination... destinations)Information about destination processing for this query execution.TriggerHistoryRecord.BuildererrorMessage(String errorMessage)Error message if the query execution failed.TriggerHistoryRecord.BuilderexecutionStatus(String executionStatus)The execution status of the scheduled query run.TriggerHistoryRecord.BuilderexecutionStatus(ExecutionStatus executionStatus)The execution status of the scheduled query run.TriggerHistoryRecord.BuilderqueryId(String queryId)The unique identifier for this query execution.TriggerHistoryRecord.BuildertriggeredTimestamp(Long triggeredTimestamp)The timestamp when the scheduled query execution was triggered.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
queryId
TriggerHistoryRecord.Builder queryId(String 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
TriggerHistoryRecord.Builder executionStatus(String 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,ExecutionStatus
-
executionStatus
TriggerHistoryRecord.Builder executionStatus(ExecutionStatus 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,ExecutionStatus
-
triggeredTimestamp
TriggerHistoryRecord.Builder triggeredTimestamp(Long 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
TriggerHistoryRecord.Builder errorMessage(String 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
TriggerHistoryRecord.Builder destinations(Collection<ScheduledQueryDestination> 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(ScheduledQueryDestination... 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 to#destinations(List.) - 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:
#destinations(java.util.Collection)
-
-