Class ExportTask

    • Method Detail

      • taskId

        public final String taskId()

        The ID of the export task.

        Returns:
        The ID of the export task.
      • taskName

        public final String taskName()

        The name of the export task.

        Returns:
        The name of the export task.
      • logGroupName

        public final String logGroupName()

        The name of the log group from which logs data was exported.

        Returns:
        The name of the log group from which logs data was exported.
      • from

        public final Long from()

        The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not exported.

        Returns:
        The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not exported.
      • to

        public final Long to()

        The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

        Returns:
        The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.
      • destination

        public final String destination()

        The name of the S3 bucket to which the log data was exported.

        Returns:
        The name of the S3 bucket to which the log data was exported.
      • destinationPrefix

        public final String destinationPrefix()

        The prefix that was used as the start of Amazon S3 key for every object exported.

        Returns:
        The prefix that was used as the start of Amazon S3 key for every object exported.
      • status

        public final ExportTaskStatus status()

        The status of the export task.

        Returns:
        The status of the export task.
      • executionInfo

        public final ExportTaskExecutionInfo executionInfo()

        Execution information about the export task.

        Returns:
        Execution information about the export task.
      • 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)