@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) |
List<List<ResultField>> |
getResults()
The log events that matched the query criteria during the most recent time it ran.
|
QueryStatistics |
getStatistics()
Includes the number of log events scanned by the query, the number of log events that matched the query criteria,
and the total number of bytes in the log events that were scanned.
|
String |
getStatus()
The status of the most recent running of the query.
|
int |
hashCode() |
void |
setResults(Collection<List<ResultField>> results)
The log events that matched the query criteria during the most recent time it ran.
|
void |
setStatistics(QueryStatistics statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query criteria,
and the total number of bytes in the log events that were scanned.
|
void |
setStatus(String status)
The status of the most recent running of the query.
|
String |
toString()
Returns a string representation of this object.
|
GetQueryResultsResult |
withResults(Collection<List<ResultField>> results)
The log events that matched the query criteria during the most recent time it ran.
|
GetQueryResultsResult |
withResults(List<ResultField>... results)
The log events that matched the query criteria during the most recent time it ran.
|
GetQueryResultsResult |
withStatistics(QueryStatistics statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query criteria,
and the total number of bytes in the log events that were scanned.
|
GetQueryResultsResult |
withStatus(QueryStatus status)
The status of the most recent running of the query.
|
GetQueryResultsResult |
withStatus(String status)
The status of the most recent running of the query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<List<ResultField>> getResults()
The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array. Each
of these log event objects is an array of field
/value
pairs.
The results
value is an array of arrays. Each log event is one object in the top-level
array. Each of these log event objects is an array of field
/value
pairs.
public void setResults(Collection<List<ResultField>> results)
The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array. Each
of these log event objects is an array of field
/value
pairs.
results
- The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array.
Each of these log event objects is an array of field
/value
pairs.
public GetQueryResultsResult withResults(List<ResultField>... results)
The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array. Each
of these log event objects is an array of field
/value
pairs.
NOTE: This method appends the values to the existing list (if any). Use
setResults(java.util.Collection)
or withResults(java.util.Collection)
if you want to override
the existing values.
results
- The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array.
Each of these log event objects is an array of field
/value
pairs.
public GetQueryResultsResult withResults(Collection<List<ResultField>> results)
The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array. Each
of these log event objects is an array of field
/value
pairs.
results
- The log events that matched the query criteria during the most recent time it ran.
The results
value is an array of arrays. Each log event is one object in the top-level array.
Each of these log event objects is an array of field
/value
pairs.
public void setStatistics(QueryStatistics statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned. These values reflect the full raw results of the query.
statistics
- Includes the number of log events scanned by the query, the number of log events that matched the query
criteria, and the total number of bytes in the log events that were scanned. These values reflect the full
raw results of the query.public QueryStatistics getStatistics()
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned. These values reflect the full raw results of the query.
public GetQueryResultsResult withStatistics(QueryStatistics statistics)
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned. These values reflect the full raw results of the query.
statistics
- Includes the number of log events scanned by the query, the number of log events that matched the query
criteria, and the total number of bytes in the log events that were scanned. These values reflect the full
raw results of the query.public void setStatus(String status)
The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, Timeout
,
and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
status
- The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
,
Timeout
, and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
QueryStatus
public String getStatus()
The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, Timeout
,
and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
Cancelled
,
Complete
, Failed
, Running
, Scheduled
,
Timeout
, and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
QueryStatus
public GetQueryResultsResult withStatus(String status)
The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, Timeout
,
and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
status
- The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
,
Timeout
, and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
QueryStatus
public GetQueryResultsResult withStatus(QueryStatus status)
The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
, Timeout
,
and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
status
- The status of the most recent running of the query. Possible values are Cancelled
,
Complete
, Failed
, Running
, Scheduled
,
Timeout
, and Unknown
.
Queries time out after 15 minutes of execution. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
QueryStatus
public String toString()
toString
in class Object
Object.toString()
public GetQueryResultsResult clone()
Copyright © 2020. All rights reserved.