Class Import

    • Method Detail

      • importId

        public final String importId()

        The unique identifier of the import task.

        Returns:
        The unique identifier of the import task.
      • importSourceArn

        public final String importSourceArn()

        The ARN of the CloudTrail Lake Event Data Store being imported from.

        Returns:
        The ARN of the CloudTrail Lake Event Data Store being imported from.
      • importStatus

        public final ImportStatus importStatus()

        The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

        If the service returns an enum value that is not available in the current SDK version, importStatus will return ImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from importStatusAsString().

        Returns:
        The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
        See Also:
        ImportStatus
      • importStatusAsString

        public final String importStatusAsString()

        The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

        If the service returns an enum value that is not available in the current SDK version, importStatus will return ImportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from importStatusAsString().

        Returns:
        The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
        See Also:
        ImportStatus
      • importDestinationArn

        public final String importDestinationArn()

        The ARN of the managed CloudWatch Logs log group where the events are being imported to.

        Returns:
        The ARN of the managed CloudWatch Logs log group where the events are being imported to.
      • importStatistics

        public final ImportStatistics importStatistics()

        Statistics about the import progress

        Returns:
        Statistics about the import progress
      • importFilter

        public final ImportFilter importFilter()

        The filter criteria used for this import task.

        Returns:
        The filter criteria used for this import task.
      • creationTime

        public final Long creationTime()

        The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Returns:
        The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      • lastUpdatedTime

        public final Long lastUpdatedTime()

        The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Returns:
        The timestamp when the import task was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      • errorMessage

        public final String errorMessage()

        Error message related to any failed imports

        Returns:
        Error message related to any failed imports
      • serializableBuilderClass

        public static Class<? extends Import.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)