@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetQueryResultsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetQueryResultsResult() |
Modifier and Type | Method and Description |
---|---|
GetQueryResultsResult |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
The error message returned if a query failed.
|
String |
getNextToken()
A token you can use to get the next page of query results.
|
List<List<Map<String,String>>> |
getQueryResultRows()
Contains the individual event results of the query.
|
QueryStatistics |
getQueryStatistics()
Shows the count of query results.
|
String |
getQueryStatus()
The status of the query.
|
int |
hashCode() |
void |
setErrorMessage(String errorMessage)
The error message returned if a query failed.
|
void |
setNextToken(String nextToken)
A token you can use to get the next page of query results.
|
void |
setQueryResultRows(Collection<List<Map<String,String>>> queryResultRows)
Contains the individual event results of the query.
|
void |
setQueryStatistics(QueryStatistics queryStatistics)
Shows the count of query results.
|
void |
setQueryStatus(String queryStatus)
The status of the query.
|
String |
toString()
Returns a string representation of this object.
|
GetQueryResultsResult |
withErrorMessage(String errorMessage)
The error message returned if a query failed.
|
GetQueryResultsResult |
withNextToken(String nextToken)
A token you can use to get the next page of query results.
|
GetQueryResultsResult |
withQueryResultRows(Collection<List<Map<String,String>>> queryResultRows)
Contains the individual event results of the query.
|
GetQueryResultsResult |
withQueryResultRows(List<Map<String,String>>... queryResultRows)
Contains the individual event results of the query.
|
GetQueryResultsResult |
withQueryStatistics(QueryStatistics queryStatistics)
Shows the count of query results.
|
GetQueryResultsResult |
withQueryStatus(QueryStatus queryStatus)
The status of the query.
|
GetQueryResultsResult |
withQueryStatus(String queryStatus)
The status of the query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setQueryStatus(String queryStatus)
The status of the query. Values include QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
queryStatus
- The status of the query. Values include QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public String getQueryStatus()
The status of the query. Values include QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public GetQueryResultsResult withQueryStatus(String queryStatus)
The status of the query. Values include QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
queryStatus
- The status of the query. Values include QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public GetQueryResultsResult withQueryStatus(QueryStatus queryStatus)
The status of the query. Values include QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
queryStatus
- The status of the query. Values include QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public void setQueryStatistics(QueryStatistics queryStatistics)
Shows the count of query results.
queryStatistics
- Shows the count of query results.public QueryStatistics getQueryStatistics()
Shows the count of query results.
public GetQueryResultsResult withQueryStatistics(QueryStatistics queryStatistics)
Shows the count of query results.
queryStatistics
- Shows the count of query results.public List<List<Map<String,String>>> getQueryResultRows()
Contains the individual event results of the query.
public void setQueryResultRows(Collection<List<Map<String,String>>> queryResultRows)
Contains the individual event results of the query.
queryResultRows
- Contains the individual event results of the query.public GetQueryResultsResult withQueryResultRows(List<Map<String,String>>... queryResultRows)
Contains the individual event results of the query.
NOTE: This method appends the values to the existing list (if any). Use
setQueryResultRows(java.util.Collection)
or withQueryResultRows(java.util.Collection)
if you
want to override the existing values.
queryResultRows
- Contains the individual event results of the query.public GetQueryResultsResult withQueryResultRows(Collection<List<Map<String,String>>> queryResultRows)
Contains the individual event results of the query.
queryResultRows
- Contains the individual event results of the query.public void setNextToken(String nextToken)
A token you can use to get the next page of query results.
nextToken
- A token you can use to get the next page of query results.public String getNextToken()
A token you can use to get the next page of query results.
public GetQueryResultsResult withNextToken(String nextToken)
A token you can use to get the next page of query results.
nextToken
- A token you can use to get the next page of query results.public void setErrorMessage(String errorMessage)
The error message returned if a query failed.
errorMessage
- The error message returned if a query failed.public String getErrorMessage()
The error message returned if a query failed.
public GetQueryResultsResult withErrorMessage(String errorMessage)
The error message returned if a query failed.
errorMessage
- The error message returned if a query failed.public String toString()
toString
in class Object
Object.toString()
public GetQueryResultsResult clone()