@Generated(value="software.amazon.awssdk:codegen") public final class QueryInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryInfo.Builder,QueryInfo>
Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries
operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
QueryInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static QueryInfo.Builder |
builder() |
Long |
createTime()
The date and time that this query was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logGroupName()
The name of the log group scanned by this query.
|
String |
queryId()
The unique ID number of this query.
|
String |
queryString()
The query string used in this query.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends QueryInfo.Builder> |
serializableBuilderClass() |
QueryStatus |
status()
The status of this query.
|
String |
statusAsString()
The status of this query.
|
QueryInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String queryId()
The unique ID number of this query.
public final String queryString()
The query string used in this query.
public final QueryStatus status()
The status of this query. Possible values are Cancelled, Complete, Failed,
Running, Scheduled, and Unknown.
If the service returns an enum value that is not available in the current SDK version, status will
return QueryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Cancelled, Complete,
Failed, Running, Scheduled, and Unknown.QueryStatuspublic final String statusAsString()
The status of this query. Possible values are Cancelled, Complete, Failed,
Running, Scheduled, and Unknown.
If the service returns an enum value that is not available in the current SDK version, status will
return QueryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Cancelled, Complete,
Failed, Running, Scheduled, and Unknown.QueryStatuspublic final Long createTime()
The date and time that this query was created.
public final String logGroupName()
The name of the log group scanned by this query.
public QueryInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<QueryInfo.Builder,QueryInfo>public static QueryInfo.Builder builder()
public static Class<? extends QueryInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.