Interface ScheduledQueryRunSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ScheduledQueryRunSummary.Builder,
,ScheduledQueryRunSummary> SdkBuilder<ScheduledQueryRunSummary.Builder,
,ScheduledQueryRunSummary> SdkPojo
- Enclosing class:
ScheduledQueryRunSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault ScheduledQueryRunSummary.Builder
errorReportLocation
(Consumer<ErrorReportLocation.Builder> errorReportLocation) S3 location for error report.errorReportLocation
(ErrorReportLocation errorReportLocation) S3 location for error report.default ScheduledQueryRunSummary.Builder
executionStats
(Consumer<ExecutionStats.Builder> executionStats) Runtime statistics for a scheduled run.executionStats
(ExecutionStats executionStats) Runtime statistics for a scheduled run.failureReason
(String failureReason) Error message for the scheduled query in case of failure.invocationTime
(Instant invocationTime) InvocationTime for this run.default ScheduledQueryRunSummary.Builder
queryInsightsResponse
(Consumer<ScheduledQueryInsightsResponse.Builder> queryInsightsResponse) Provides various insights and metrics related to the run summary of the scheduled query.queryInsightsResponse
(ScheduledQueryInsightsResponse queryInsightsResponse) Provides various insights and metrics related to the run summary of the scheduled query.The status of a scheduled query run.runStatus
(ScheduledQueryRunStatus runStatus) The status of a scheduled query run.triggerTime
(Instant triggerTime) The actual time when the query was run.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 Details
-
invocationTime
InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter
@scheduled_runtime
can be used in the query to get the value.- Parameters:
invocationTime
- InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter@scheduled_runtime
can be used in the query to get the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerTime
The actual time when the query was run.
- Parameters:
triggerTime
- The actual time when the query was run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runStatus
The status of a scheduled query run.
- Parameters:
runStatus
- The status of a scheduled query run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runStatus
The status of a scheduled query run.
- Parameters:
runStatus
- The status of a scheduled query run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionStats
Runtime statistics for a scheduled run.
- Parameters:
executionStats
- Runtime statistics for a scheduled run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionStats
default ScheduledQueryRunSummary.Builder executionStats(Consumer<ExecutionStats.Builder> executionStats) Runtime statistics for a scheduled run.
This is a convenience method that creates an instance of theExecutionStats.Builder
avoiding the need to create one manually viaExecutionStats.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionStats(ExecutionStats)
.- Parameters:
executionStats
- a consumer that will call methods onExecutionStats.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryInsightsResponse
ScheduledQueryRunSummary.Builder queryInsightsResponse(ScheduledQueryInsightsResponse queryInsightsResponse) Provides various insights and metrics related to the run summary of the scheduled query.
- Parameters:
queryInsightsResponse
- Provides various insights and metrics related to the run summary of the scheduled query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryInsightsResponse
default ScheduledQueryRunSummary.Builder queryInsightsResponse(Consumer<ScheduledQueryInsightsResponse.Builder> queryInsightsResponse) Provides various insights and metrics related to the run summary of the scheduled query.
This is a convenience method that creates an instance of theScheduledQueryInsightsResponse.Builder
avoiding the need to create one manually viaScheduledQueryInsightsResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueryInsightsResponse(ScheduledQueryInsightsResponse)
.- Parameters:
queryInsightsResponse
- a consumer that will call methods onScheduledQueryInsightsResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorReportLocation
S3 location for error report.
- Parameters:
errorReportLocation
- S3 location for error report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorReportLocation
default ScheduledQueryRunSummary.Builder errorReportLocation(Consumer<ErrorReportLocation.Builder> errorReportLocation) S3 location for error report.
This is a convenience method that creates an instance of theErrorReportLocation.Builder
avoiding the need to create one manually viaErrorReportLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorReportLocation(ErrorReportLocation)
.- Parameters:
errorReportLocation
- a consumer that will call methods onErrorReportLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.
- Parameters:
failureReason
- Error message for the scheduled query in case of failure. You might have to look at the error report to get more detailed error reasons.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-