@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryExecutionStatus extends Object implements Serializable, Cloneable, StructuredPojo
The completion date, current state, submission time, and state change reason (if applicable) for the query execution.
Constructor and Description |
---|
QueryExecutionStatus() |
Modifier and Type | Method and Description |
---|---|
QueryExecutionStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletionDateTime()
The date and time that the query completed.
|
String |
getState()
The state of query execution.
|
String |
getStateChangeReason()
Further detail about the status of the query.
|
Date |
getSubmissionDateTime()
The date and time that the query was submitted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
|
void |
setState(QueryExecutionState state)
The state of query execution.
|
void |
setState(String state)
The state of query execution.
|
void |
setStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
|
void |
setSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
QueryExecutionStatus |
withCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
|
QueryExecutionStatus |
withState(QueryExecutionState state)
The state of query execution.
|
QueryExecutionStatus |
withState(String state)
The state of query execution.
|
QueryExecutionStatus |
withStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
|
QueryExecutionStatus |
withSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
|
public void setState(String state)
The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results. SUCCEEDED
indicates that the query completed without error. FAILED
indicates that the query experienced an
error and did not complete processing. CANCELLED
indicates that user input interrupted query
execution.
state
- The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results.
SUCCEEDED
indicates that the query completed without error. FAILED
indicates
that the query experienced an error and did not complete processing. CANCELLED
indicates that
user input interrupted query execution.QueryExecutionState
public String getState()
The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results. SUCCEEDED
indicates that the query completed without error. FAILED
indicates that the query experienced an
error and did not complete processing. CANCELLED
indicates that user input interrupted query
execution.
SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results.
SUCCEEDED
indicates that the query completed without error. FAILED
indicates
that the query experienced an error and did not complete processing. CANCELLED
indicates
that user input interrupted query execution.QueryExecutionState
public QueryExecutionStatus withState(String state)
The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results. SUCCEEDED
indicates that the query completed without error. FAILED
indicates that the query experienced an
error and did not complete processing. CANCELLED
indicates that user input interrupted query
execution.
state
- The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results.
SUCCEEDED
indicates that the query completed without error. FAILED
indicates
that the query experienced an error and did not complete processing. CANCELLED
indicates that
user input interrupted query execution.QueryExecutionState
public void setState(QueryExecutionState state)
The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results. SUCCEEDED
indicates that the query completed without error. FAILED
indicates that the query experienced an
error and did not complete processing. CANCELLED
indicates that user input interrupted query
execution.
state
- The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results.
SUCCEEDED
indicates that the query completed without error. FAILED
indicates
that the query experienced an error and did not complete processing. CANCELLED
indicates that
user input interrupted query execution.QueryExecutionState
public QueryExecutionStatus withState(QueryExecutionState state)
The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results. SUCCEEDED
indicates that the query completed without error. FAILED
indicates that the query experienced an
error and did not complete processing. CANCELLED
indicates that user input interrupted query
execution.
state
- The state of query execution. SUBMITTED
indicates that the query is queued for execution.
RUNNING
indicates that the query is scanning data and returning results.
SUCCEEDED
indicates that the query completed without error. FAILED
indicates
that the query experienced an error and did not complete processing. CANCELLED
indicates that
user input interrupted query execution.QueryExecutionState
public void setStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
stateChangeReason
- Further detail about the status of the query.public String getStateChangeReason()
Further detail about the status of the query.
public QueryExecutionStatus withStateChangeReason(String stateChangeReason)
Further detail about the status of the query.
stateChangeReason
- Further detail about the status of the query.public void setSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
submissionDateTime
- The date and time that the query was submitted.public Date getSubmissionDateTime()
The date and time that the query was submitted.
public QueryExecutionStatus withSubmissionDateTime(Date submissionDateTime)
The date and time that the query was submitted.
submissionDateTime
- The date and time that the query was submitted.public void setCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
completionDateTime
- The date and time that the query completed.public Date getCompletionDateTime()
The date and time that the query completed.
public QueryExecutionStatus withCompletionDateTime(Date completionDateTime)
The date and time that the query completed.
completionDateTime
- The date and time that the query completed.public String toString()
toString
in class Object
Object.toString()
public QueryExecutionStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.