Class GetScheduledQueryResponse

    • Method Detail

      • scheduledQueryArn

        public final String scheduledQueryArn()

        The ARN of the scheduled query.

        Returns:
        The ARN of the scheduled query.
      • name

        public final String name()

        The name of the scheduled query.

        Returns:
        The name of the scheduled query.
      • description

        public final String description()

        The description of the scheduled query.

        Returns:
        The description of the scheduled query.
      • queryLanguageAsString

        public final String queryLanguageAsString()

        The query language used by the scheduled query.

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

        Returns:
        The query language used by the scheduled query.
        See Also:
        QueryLanguage
      • queryString

        public final String queryString()

        The query string executed by the scheduled query.

        Returns:
        The query string executed by the scheduled query.
      • hasLogGroupIdentifiers

        public final boolean hasLogGroupIdentifiers()
        For responses, this returns true if the service returned a value for the LogGroupIdentifiers property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • logGroupIdentifiers

        public final List<String> logGroupIdentifiers()

        The log groups queried by the scheduled query.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasLogGroupIdentifiers() method.

        Returns:
        The log groups queried by the scheduled query.
      • scheduleExpression

        public final String scheduleExpression()

        The cron expression that defines when the scheduled query runs.

        Returns:
        The cron expression that defines when the scheduled query runs.
      • timezone

        public final String timezone()

        The timezone used for evaluating the schedule expression.

        Returns:
        The timezone used for evaluating the schedule expression.
      • startTimeOffset

        public final Long startTimeOffset()

        The time offset in seconds that defines the lookback period for the query.

        Returns:
        The time offset in seconds that defines the lookback period for the query.
      • destinationConfiguration

        public final DestinationConfiguration destinationConfiguration()

        Configuration for where query results are delivered.

        Returns:
        Configuration for where query results are delivered.
      • lastTriggeredTime

        public final Long lastTriggeredTime()

        The timestamp when the scheduled query was last executed.

        Returns:
        The timestamp when the scheduled query was last executed.
      • lastExecutionStatusAsString

        public final String lastExecutionStatusAsString()

        The status of the most recent execution of the scheduled query.

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

        Returns:
        The status of the most recent execution of the scheduled query.
        See Also:
        ExecutionStatus
      • scheduleStartTime

        public final Long scheduleStartTime()

        The start time for the scheduled query in Unix epoch format.

        Returns:
        The start time for the scheduled query in Unix epoch format.
      • scheduleEndTime

        public final Long scheduleEndTime()

        The end time for the scheduled query in Unix epoch format.

        Returns:
        The end time for the scheduled query in Unix epoch format.
      • executionRoleArn

        public final String executionRoleArn()

        The ARN of the IAM role used to execute the query and deliver results.

        Returns:
        The ARN of the IAM role used to execute the query and deliver results.
      • creationTime

        public final Long creationTime()

        The timestamp when the scheduled query was created.

        Returns:
        The timestamp when the scheduled query was created.
      • lastUpdatedTime

        public final Long lastUpdatedTime()

        The timestamp when the scheduled query was last updated.

        Returns:
        The timestamp when the scheduled query was last updated.
      • 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