@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetQueryStateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A structure for the output.
| Constructor and Description |
|---|
GetQueryStateResult() |
| Modifier and Type | Method and Description |
|---|---|
GetQueryStateResult |
clone() |
boolean |
equals(Object obj) |
String |
getError()
An error message when the operation fails.
|
String |
getState()
The state of a query previously submitted.
|
int |
hashCode() |
void |
setError(String error)
An error message when the operation fails.
|
void |
setState(String state)
The state of a query previously submitted.
|
String |
toString()
Returns a string representation of this object.
|
GetQueryStateResult |
withError(String error)
An error message when the operation fails.
|
GetQueryStateResult |
withState(QueryStateString state)
The state of a query previously submitted.
|
GetQueryStateResult |
withState(String state)
The state of a query previously submitted.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setError(String error)
An error message when the operation fails.
error - An error message when the operation fails.public String getError()
An error message when the operation fails.
public GetQueryStateResult withError(String error)
An error message when the operation fails.
error - An error message when the operation fails.public void setState(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.
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.
QueryStateStringpublic String getState()
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.
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.
QueryStateStringpublic GetQueryStateResult withState(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.
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.
QueryStateStringpublic GetQueryStateResult withState(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.
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.
QueryStateStringpublic String toString()
toString in class ObjectObject.toString()public GetQueryStateResult clone()