@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries
operation.
Constructor and Description |
---|
QueryInfo() |
Modifier and Type | Method and Description |
---|---|
QueryInfo |
clone() |
boolean |
equals(Object obj) |
Long |
getCreateTime()
The date and time that this query was created.
|
String |
getLogGroupName()
The name of the log group scanned by this query.
|
String |
getQueryId()
The unique ID number of this query.
|
String |
getQueryString()
The query string used in this query.
|
String |
getStatus()
The status of this query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(Long createTime)
The date and time that this query was created.
|
void |
setLogGroupName(String logGroupName)
The name of the log group scanned by this query.
|
void |
setQueryId(String queryId)
The unique ID number of this query.
|
void |
setQueryString(String queryString)
The query string used in this query.
|
void |
setStatus(String status)
The status of this query.
|
String |
toString()
Returns a string representation of this object.
|
QueryInfo |
withCreateTime(Long createTime)
The date and time that this query was created.
|
QueryInfo |
withLogGroupName(String logGroupName)
The name of the log group scanned by this query.
|
QueryInfo |
withQueryId(String queryId)
The unique ID number of this query.
|
QueryInfo |
withQueryString(String queryString)
The query string used in this query.
|
QueryInfo |
withStatus(QueryStatus status)
The status of this query.
|
QueryInfo |
withStatus(String status)
The status of this query.
|
public void setQueryId(String queryId)
The unique ID number of this query.
queryId
- The unique ID number of this query.public String getQueryId()
The unique ID number of this query.
public QueryInfo withQueryId(String queryId)
The unique ID number of this query.
queryId
- The unique ID number of this query.public void setQueryString(String queryString)
The query string used in this query.
queryString
- The query string used in this query.public String getQueryString()
The query string used in this query.
public QueryInfo withQueryString(String queryString)
The query string used in this query.
queryString
- The query string used in this query.public void setStatus(String status)
The status of this query. Possible values are Cancelled
, Complete
, Failed
,
Running
, Scheduled
, and Unknown
.
status
- The status of this query. Possible values are Cancelled
, Complete
,
Failed
, Running
, Scheduled
, and Unknown
.QueryStatus
public String getStatus()
The status of this query. Possible values are Cancelled
, Complete
, Failed
,
Running
, Scheduled
, and Unknown
.
Cancelled
, Complete
,
Failed
, Running
, Scheduled
, and Unknown
.QueryStatus
public QueryInfo withStatus(String status)
The status of this query. Possible values are Cancelled
, Complete
, Failed
,
Running
, Scheduled
, and Unknown
.
status
- The status of this query. Possible values are Cancelled
, Complete
,
Failed
, Running
, Scheduled
, and Unknown
.QueryStatus
public QueryInfo withStatus(QueryStatus status)
The status of this query. Possible values are Cancelled
, Complete
, Failed
,
Running
, Scheduled
, and Unknown
.
status
- The status of this query. Possible values are Cancelled
, Complete
,
Failed
, Running
, Scheduled
, and Unknown
.QueryStatus
public void setCreateTime(Long createTime)
The date and time that this query was created.
createTime
- The date and time that this query was created.public Long getCreateTime()
The date and time that this query was created.
public QueryInfo withCreateTime(Long createTime)
The date and time that this query was created.
createTime
- The date and time that this query was created.public void setLogGroupName(String logGroupName)
The name of the log group scanned by this query.
logGroupName
- The name of the log group scanned by this query.public String getLogGroupName()
The name of the log group scanned by this query.
public QueryInfo withLogGroupName(String logGroupName)
The name of the log group scanned by this query.
logGroupName
- The name of the log group scanned by this query.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.