Interface QueryInfo.Builder

  • Method Details

    • queryLanguage

      QueryInfo.Builder queryLanguage(String queryLanguage)

      The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.

      Parameters:
      queryLanguage - The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryLanguage

      QueryInfo.Builder queryLanguage(QueryLanguage queryLanguage)

      The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.

      Parameters:
      queryLanguage - The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • queryId

      QueryInfo.Builder queryId(String queryId)

      The unique ID number of this query.

      Parameters:
      queryId - The unique ID number of this query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryString

      QueryInfo.Builder queryString(String queryString)

      The query string used in this query.

      Parameters:
      queryString - The query string used in this query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      QueryInfo.Builder status(String status)

      The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

      Parameters:
      status - The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

      Parameters:
      status - The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createTime

      QueryInfo.Builder createTime(Long createTime)

      The date and time that this query was created.

      Parameters:
      createTime - The date and time that this query was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupName

      QueryInfo.Builder logGroupName(String logGroupName)

      The name of the log group scanned by this query.

      Parameters:
      logGroupName - The name of the log group scanned by this query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryDuration

      QueryInfo.Builder queryDuration(Long queryDuration)

      The duration in milliseconds that the query took to execute.

      Parameters:
      queryDuration - The duration in milliseconds that the query took to execute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bytesScanned

      QueryInfo.Builder bytesScanned(Double bytesScanned)

      The total number of bytes scanned by the query. This indicates the cost associated with the query.

      Parameters:
      bytesScanned - The total number of bytes scanned by the query. This indicates the cost associated with the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userIdentity

      QueryInfo.Builder userIdentity(String userIdentity)

      The ARN of the user who ran the query.

      Parameters:
      userIdentity - The ARN of the user who ran the query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.