Class DescribeQueryResponse

    • Method Detail

      • queryId

        public final String queryId()

        The ID of the query.

        Returns:
        The ID of the query.
      • queryString

        public final String queryString()

        The SQL code of a query.

        Returns:
        The SQL code of a query.
      • queryStatus

        public final QueryStatus queryStatus()

        The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED

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

        Returns:
        The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED
        See Also:
        QueryStatus
      • queryStatusAsString

        public final String queryStatusAsString()

        The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED

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

        Returns:
        The status of a query. Values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED
        See Also:
        QueryStatus
      • queryStatistics

        public final QueryStatisticsForDescribeQuery queryStatistics()

        Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.

        Returns:
        Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
      • errorMessage

        public final String errorMessage()

        The error message returned if a query failed.

        Returns:
        The error message returned if a query failed.
      • deliveryS3Uri

        public final String deliveryS3Uri()

        The URI for the S3 bucket where CloudTrail delivered query results, if applicable.

        Returns:
        The URI for the S3 bucket where CloudTrail delivered query results, if applicable.
      • 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