Class ImportStatistics
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.ImportStatistics
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImportStatistics.Builder,ImportStatistics>
@Generated("software.amazon.awssdk:codegen") public final class ImportStatistics extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImportStatistics.Builder,ImportStatistics>
Provides statistics for the specified
ImportID. CloudTrail does not update import statistics in real-time. Returned values for parameters such asEventsCompletedmay be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImportStatistics.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImportStatistics.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongeventsCompleted()The number of trail events imported into the event data store.LongfailedEntries()The number of failed entries.LongfilesCompleted()The number of log files that completed import.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongprefixesCompleted()The number of S3 prefixes that completed import.LongprefixesFound()The number of S3 prefixes found for the import.List<SdkField<?>>sdkFields()static Class<? extends ImportStatistics.Builder>serializableBuilderClass()ImportStatistics.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
-
prefixesFound
public final Long prefixesFound()
The number of S3 prefixes found for the import.
- Returns:
- The number of S3 prefixes found for the import.
-
prefixesCompleted
public final Long prefixesCompleted()
The number of S3 prefixes that completed import.
- Returns:
- The number of S3 prefixes that completed import.
-
filesCompleted
public final Long filesCompleted()
The number of log files that completed import.
- Returns:
- The number of log files that completed import.
-
eventsCompleted
public final Long eventsCompleted()
The number of trail events imported into the event data store.
- Returns:
- The number of trail events imported into the event data store.
-
failedEntries
public final Long failedEntries()
The number of failed entries.
- Returns:
- The number of failed entries.
-
toBuilder
public ImportStatistics.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImportStatistics.Builder,ImportStatistics>
-
builder
public static ImportStatistics.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImportStatistics.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.
-
-