Interface QueryExecutionStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<QueryExecutionStatus.Builder,
,QueryExecutionStatus> SdkBuilder<QueryExecutionStatus.Builder,
,QueryExecutionStatus> SdkPojo
- Enclosing class:
QueryExecutionStatus
-
Method Summary
Modifier and TypeMethodDescriptiondefault QueryExecutionStatus.Builder
athenaError
(Consumer<AthenaError.Builder> athenaError) Provides information about an Athena query error.athenaError
(AthenaError athenaError) Provides information about an Athena query error.completionDateTime
(Instant completionDateTime) The date and time that the query completed.The state of query execution.state
(QueryExecutionState state) The state of query execution.stateChangeReason
(String stateChangeReason) Further detail about the status of the query.submissionDateTime
(Instant submissionDateTime) The date and time that the query was submitted.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 Details
-
state
The state of query execution.
QUEUED
indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available.RUNNING
indicates that the query is in execution phase.SUCCEEDED
indicates that the query completed without errors.FAILED
indicates that the query experienced an error and did not complete processing.CANCELLED
indicates that a user input interrupted query execution.Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from
RUNNING
orFAILED
toQUEUED
.- Parameters:
state
- The state of query execution.QUEUED
indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available.RUNNING
indicates that the query is in execution phase.SUCCEEDED
indicates that the query completed without errors.FAILED
indicates that the query experienced an error and did not complete processing.CANCELLED
indicates that a user input interrupted query execution.Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from
RUNNING
orFAILED
toQUEUED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of query execution.
QUEUED
indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available.RUNNING
indicates that the query is in execution phase.SUCCEEDED
indicates that the query completed without errors.FAILED
indicates that the query experienced an error and did not complete processing.CANCELLED
indicates that a user input interrupted query execution.Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from
RUNNING
orFAILED
toQUEUED
.- Parameters:
state
- The state of query execution.QUEUED
indicates that the query has been submitted to the service, and Athena will execute the query as soon as resources are available.RUNNING
indicates that the query is in execution phase.SUCCEEDED
indicates that the query completed without errors.FAILED
indicates that the query experienced an error and did not complete processing.CANCELLED
indicates that a user input interrupted query execution.Athena automatically retries your queries in cases of certain transient errors. As a result, you may see the query state transition from
RUNNING
orFAILED
toQUEUED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stateChangeReason
Further detail about the status of the query.
- Parameters:
stateChangeReason
- Further detail about the status of the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
submissionDateTime
The date and time that the query was submitted.
- Parameters:
submissionDateTime
- The date and time that the query was submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionDateTime
The date and time that the query completed.
- Parameters:
completionDateTime
- The date and time that the query completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
athenaError
Provides information about an Athena query error.
- Parameters:
athenaError
- Provides information about an Athena query error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
athenaError
Provides information about an Athena query error.
This is a convenience method that creates an instance of theAthenaError.Builder
avoiding the need to create one manually viaAthenaError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toathenaError(AthenaError)
.- Parameters:
athenaError
- a consumer that will call methods onAthenaError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-