@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String queryId()
The unique ID number of this query.
public String queryString()
The query string used in this query.
public 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
.QueryStatus
public 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
.QueryStatus
public Long createTime()
The date and time that this query was created.
public String logGroupName()
The name of the log group scanned by this query.
public QueryInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<QueryInfo.Builder,QueryInfo>
public static QueryInfo.Builder builder()
public static Class<? extends QueryInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.