Interface GetQueryStateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQueryStateResponse.Builder,GetQueryStateResponse>,LakeFormationResponse.Builder,SdkBuilder<GetQueryStateResponse.Builder,GetQueryStateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetQueryStateResponse
public static interface GetQueryStateResponse.Builder extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<GetQueryStateResponse.Builder,GetQueryStateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetQueryStateResponse.Buildererror(String error)An error message when the operation fails.GetQueryStateResponse.Builderstate(String state)The state of a query previously submitted.GetQueryStateResponse.Builderstate(QueryStateString state)The state of a query previously submitted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
error
GetQueryStateResponse.Builder error(String error)
An error message when the operation fails.
- Parameters:
error- An error message when the operation fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
GetQueryStateResponse.Builder state(String state)
The state of a query previously submitted. The possible states are:
-
PENDING: the query is pending.
-
WORKUNITS_AVAILABLE: some work units are ready for retrieval and execution.
-
FINISHED: the query planning finished successfully, and all work units are ready for retrieval and execution.
-
ERROR: an error occurred with the query, such as an invalid query ID or a backend error.
- Parameters:
state- The state of a query previously submitted. The possible states are:-
PENDING: the query is pending.
-
WORKUNITS_AVAILABLE: some work units are ready for retrieval and execution.
-
FINISHED: the query planning finished successfully, and all work units are ready for retrieval and execution.
-
ERROR: an error occurred with the query, such as an invalid query ID or a backend error.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryStateString,QueryStateString
-
-
state
GetQueryStateResponse.Builder state(QueryStateString state)
The state of a query previously submitted. The possible states are:
-
PENDING: the query is pending.
-
WORKUNITS_AVAILABLE: some work units are ready for retrieval and execution.
-
FINISHED: the query planning finished successfully, and all work units are ready for retrieval and execution.
-
ERROR: an error occurred with the query, such as an invalid query ID or a backend error.
- Parameters:
state- The state of a query previously submitted. The possible states are:-
PENDING: the query is pending.
-
WORKUNITS_AVAILABLE: some work units are ready for retrieval and execution.
-
FINISHED: the query planning finished successfully, and all work units are ready for retrieval and execution.
-
ERROR: an error occurred with the query, such as an invalid query ID or a backend error.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QueryStateString,QueryStateString
-
-
-