@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryStatisticsForDescribeQuery extends Object implements Serializable, Cloneable, StructuredPojo
Gets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
Constructor and Description |
---|
QueryStatisticsForDescribeQuery() |
Modifier and Type | Method and Description |
---|---|
QueryStatisticsForDescribeQuery |
clone() |
boolean |
equals(Object obj) |
Long |
getBytesScanned()
The total bytes that the query scanned in the event data store.
|
Date |
getCreationTime()
The creation time of the query.
|
Long |
getEventsMatched()
The number of events that matched a query.
|
Long |
getEventsScanned()
The number of events that the query scanned in the event data store.
|
Integer |
getExecutionTimeInMillis()
The query's run time, in milliseconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store.
|
void |
setCreationTime(Date creationTime)
The creation time of the query.
|
void |
setEventsMatched(Long eventsMatched)
The number of events that matched a query.
|
void |
setEventsScanned(Long eventsScanned)
The number of events that the query scanned in the event data store.
|
void |
setExecutionTimeInMillis(Integer executionTimeInMillis)
The query's run time, in milliseconds.
|
String |
toString()
Returns a string representation of this object.
|
QueryStatisticsForDescribeQuery |
withBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store.
|
QueryStatisticsForDescribeQuery |
withCreationTime(Date creationTime)
The creation time of the query.
|
QueryStatisticsForDescribeQuery |
withEventsMatched(Long eventsMatched)
The number of events that matched a query.
|
QueryStatisticsForDescribeQuery |
withEventsScanned(Long eventsScanned)
The number of events that the query scanned in the event data store.
|
QueryStatisticsForDescribeQuery |
withExecutionTimeInMillis(Integer executionTimeInMillis)
The query's run time, in milliseconds.
|
public void setEventsMatched(Long eventsMatched)
The number of events that matched a query.
eventsMatched
- The number of events that matched a query.public Long getEventsMatched()
The number of events that matched a query.
public QueryStatisticsForDescribeQuery withEventsMatched(Long eventsMatched)
The number of events that matched a query.
eventsMatched
- The number of events that matched a query.public void setEventsScanned(Long eventsScanned)
The number of events that the query scanned in the event data store.
eventsScanned
- The number of events that the query scanned in the event data store.public Long getEventsScanned()
The number of events that the query scanned in the event data store.
public QueryStatisticsForDescribeQuery withEventsScanned(Long eventsScanned)
The number of events that the query scanned in the event data store.
eventsScanned
- The number of events that the query scanned in the event data store.public void setBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.
bytesScanned
- The total bytes that the query scanned in the event data store. This value matches the number of bytes for
which your account is billed for the query, unless the query is still running.public Long getBytesScanned()
The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.
public QueryStatisticsForDescribeQuery withBytesScanned(Long bytesScanned)
The total bytes that the query scanned in the event data store. This value matches the number of bytes for which your account is billed for the query, unless the query is still running.
bytesScanned
- The total bytes that the query scanned in the event data store. This value matches the number of bytes for
which your account is billed for the query, unless the query is still running.public void setExecutionTimeInMillis(Integer executionTimeInMillis)
The query's run time, in milliseconds.
executionTimeInMillis
- The query's run time, in milliseconds.public Integer getExecutionTimeInMillis()
The query's run time, in milliseconds.
public QueryStatisticsForDescribeQuery withExecutionTimeInMillis(Integer executionTimeInMillis)
The query's run time, in milliseconds.
executionTimeInMillis
- The query's run time, in milliseconds.public void setCreationTime(Date creationTime)
The creation time of the query.
creationTime
- The creation time of the query.public Date getCreationTime()
The creation time of the query.
public QueryStatisticsForDescribeQuery withCreationTime(Date creationTime)
The creation time of the query.
creationTime
- The creation time of the query.public String toString()
toString
in class Object
Object.toString()
public QueryStatisticsForDescribeQuery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.