Class QueryStatisticsForDescribeQuery
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.QueryStatisticsForDescribeQuery
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QueryStatisticsForDescribeQuery.Builder,QueryStatisticsForDescribeQuery>
@Generated("software.amazon.awssdk:codegen") public final class QueryStatisticsForDescribeQuery extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryStatisticsForDescribeQuery.Builder,QueryStatisticsForDescribeQuery>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQueryStatisticsForDescribeQuery.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryStatisticsForDescribeQuery.Builderbuilder()LongbytesScanned()The total bytes that the query scanned in the event data store.InstantcreationTime()The creation time of the query.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongeventsMatched()The number of events that matched a query.LongeventsScanned()The number of events that the query scanned in the event data store.IntegerexecutionTimeInMillis()The query's run time, in milliseconds.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends QueryStatisticsForDescribeQuery.Builder>serializableBuilderClass()QueryStatisticsForDescribeQuery.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventsMatched
public final Long eventsMatched()
The number of events that matched a query.
- Returns:
- The number of events that matched a query.
-
eventsScanned
public final Long eventsScanned()
The number of events that the query scanned in the event data store.
- Returns:
- The number of events that the query scanned in the event data store.
-
bytesScanned
public final 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.
- Returns:
- 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.
-
executionTimeInMillis
public final Integer executionTimeInMillis()
The query's run time, in milliseconds.
- Returns:
- The query's run time, in milliseconds.
-
creationTime
public final Instant creationTime()
The creation time of the query.
- Returns:
- The creation time of the query.
-
toBuilder
public QueryStatisticsForDescribeQuery.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QueryStatisticsForDescribeQuery.Builder,QueryStatisticsForDescribeQuery>
-
builder
public static QueryStatisticsForDescribeQuery.Builder builder()
-
serializableBuilderClass
public static Class<? extends QueryStatisticsForDescribeQuery.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-