Class QueryStatistics
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.QueryStatistics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<QueryStatistics.Builder,QueryStatistics>
@Generated("software.amazon.awssdk:codegen") public final class QueryStatistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<QueryStatistics.Builder,QueryStatistics>
Metadata about a query, such as the number of results.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceQueryStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryStatistics.Builderbuilder()LongbytesScanned()The total bytes that the query scanned in the event data store.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerresultsCount()The number of results returned.List<SdkField<?>>sdkFields()static Class<? extends QueryStatistics.Builder>serializableBuilderClass()QueryStatistics.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalResultsCount()The total number of results returned by a query.-
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
-
resultsCount
public final Integer resultsCount()
The number of results returned.
- Returns:
- The number of results returned.
-
totalResultsCount
public final Integer totalResultsCount()
The total number of results returned by a query.
- Returns:
- The total number of results returned by a query.
-
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.
-
toBuilder
public QueryStatistics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<QueryStatistics.Builder,QueryStatistics>
-
builder
public static QueryStatistics.Builder builder()
-
serializableBuilderClass
public static Class<? extends QueryStatistics.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.
-
-