@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportStatistics extends Object implements Serializable, Cloneable, StructuredPojo
Provides statistics for the specified ImportID
. CloudTrail does not update import statistics in
real-time. Returned values for parameters such as EventsCompleted
may be lower than the actual value,
because CloudTrail updates statistics incrementally over the course of the import.
Constructor and Description |
---|
ImportStatistics() |
Modifier and Type | Method and Description |
---|---|
ImportStatistics |
clone() |
boolean |
equals(Object obj) |
Long |
getEventsCompleted()
The number of trail events imported into the event data store.
|
Long |
getFailedEntries()
The number of failed entries.
|
Long |
getFilesCompleted()
The number of log files that completed import.
|
Long |
getPrefixesCompleted()
The number of S3 prefixes that completed import.
|
Long |
getPrefixesFound()
The number of S3 prefixes found for the import.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventsCompleted(Long eventsCompleted)
The number of trail events imported into the event data store.
|
void |
setFailedEntries(Long failedEntries)
The number of failed entries.
|
void |
setFilesCompleted(Long filesCompleted)
The number of log files that completed import.
|
void |
setPrefixesCompleted(Long prefixesCompleted)
The number of S3 prefixes that completed import.
|
void |
setPrefixesFound(Long prefixesFound)
The number of S3 prefixes found for the import.
|
String |
toString()
Returns a string representation of this object.
|
ImportStatistics |
withEventsCompleted(Long eventsCompleted)
The number of trail events imported into the event data store.
|
ImportStatistics |
withFailedEntries(Long failedEntries)
The number of failed entries.
|
ImportStatistics |
withFilesCompleted(Long filesCompleted)
The number of log files that completed import.
|
ImportStatistics |
withPrefixesCompleted(Long prefixesCompleted)
The number of S3 prefixes that completed import.
|
ImportStatistics |
withPrefixesFound(Long prefixesFound)
The number of S3 prefixes found for the import.
|
public void setPrefixesFound(Long prefixesFound)
The number of S3 prefixes found for the import.
prefixesFound
- The number of S3 prefixes found for the import.public Long getPrefixesFound()
The number of S3 prefixes found for the import.
public ImportStatistics withPrefixesFound(Long prefixesFound)
The number of S3 prefixes found for the import.
prefixesFound
- The number of S3 prefixes found for the import.public void setPrefixesCompleted(Long prefixesCompleted)
The number of S3 prefixes that completed import.
prefixesCompleted
- The number of S3 prefixes that completed import.public Long getPrefixesCompleted()
The number of S3 prefixes that completed import.
public ImportStatistics withPrefixesCompleted(Long prefixesCompleted)
The number of S3 prefixes that completed import.
prefixesCompleted
- The number of S3 prefixes that completed import.public void setFilesCompleted(Long filesCompleted)
The number of log files that completed import.
filesCompleted
- The number of log files that completed import.public Long getFilesCompleted()
The number of log files that completed import.
public ImportStatistics withFilesCompleted(Long filesCompleted)
The number of log files that completed import.
filesCompleted
- The number of log files that completed import.public void setEventsCompleted(Long eventsCompleted)
The number of trail events imported into the event data store.
eventsCompleted
- The number of trail events imported into the event data store.public Long getEventsCompleted()
The number of trail events imported into the event data store.
public ImportStatistics withEventsCompleted(Long eventsCompleted)
The number of trail events imported into the event data store.
eventsCompleted
- The number of trail events imported into the event data store.public void setFailedEntries(Long failedEntries)
The number of failed entries.
failedEntries
- The number of failed entries.public Long getFailedEntries()
The number of failed entries.
public ImportStatistics withFailedEntries(Long failedEntries)
The number of failed entries.
failedEntries
- The number of failed entries.public String toString()
toString
in class Object
Object.toString()
public ImportStatistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.