Interface ScheduledQueryRunSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScheduledQueryRunSummary.Builder,ScheduledQueryRunSummary>,SdkBuilder<ScheduledQueryRunSummary.Builder,ScheduledQueryRunSummary>,SdkPojo
- Enclosing class:
- ScheduledQueryRunSummary
public static interface ScheduledQueryRunSummary.Builder extends SdkPojo, CopyableBuilder<ScheduledQueryRunSummary.Builder,ScheduledQueryRunSummary>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
invocationTime
ScheduledQueryRunSummary.Builder invocationTime(Instant invocationTime)
InvocationTime for this run. This is the time at which the query is scheduled to run. Parameter
@scheduled_runtimecan 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_runtimecan 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
ScheduledQueryRunSummary.Builder triggerTime(Instant 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
ScheduledQueryRunSummary.Builder runStatus(String 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:
ScheduledQueryRunStatus,ScheduledQueryRunStatus
-
runStatus
ScheduledQueryRunSummary.Builder runStatus(ScheduledQueryRunStatus 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:
ScheduledQueryRunStatus,ScheduledQueryRunStatus
-
executionStats
ScheduledQueryRunSummary.Builder executionStats(ExecutionStats 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.Builderavoiding the need to create one manually viaExecutionStats.builder().When the
Consumercompletes,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:
executionStats(ExecutionStats)
-
errorReportLocation
ScheduledQueryRunSummary.Builder errorReportLocation(ErrorReportLocation 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.Builderavoiding the need to create one manually viaErrorReportLocation.builder().When the
Consumercompletes,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:
errorReportLocation(ErrorReportLocation)
-
failureReason
ScheduledQueryRunSummary.Builder failureReason(String 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.
-
-