Interface RequestWidget.Builder

  • Method Details

    • queryStatement

      RequestWidget.Builder queryStatement(String queryStatement)

      The query statement for the widget. For custom dashboard widgets, you can query across multiple event data stores as long as all event data stores exist in your account.

      When a query uses ? with eventTime, ? must be surrounded by single quotes as follows: '?'.

      Parameters:
      queryStatement - The query statement for the widget. For custom dashboard widgets, you can query across multiple event data stores as long as all event data stores exist in your account.

      When a query uses ? with eventTime, ? must be surrounded by single quotes as follows: '?'.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryParameters

      RequestWidget.Builder queryParameters(Collection<String> queryParameters)

      The optional query parameters. The following query parameters are valid: $StartTime$, $EndTime$, and $Period$.

      Parameters:
      queryParameters - The optional query parameters. The following query parameters are valid: $StartTime$, $EndTime$, and $Period$.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • queryParameters

      RequestWidget.Builder queryParameters(String... queryParameters)

      The optional query parameters. The following query parameters are valid: $StartTime$, $EndTime$, and $Period$.

      Parameters:
      queryParameters - The optional query parameters. The following query parameters are valid: $StartTime$, $EndTime$, and $Period$.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • viewProperties

      RequestWidget.Builder viewProperties(Map<String,String> viewProperties)

      The view properties for the widget. For more information about view properties, see View properties for widgets in the CloudTrail User Guide.

      Parameters:
      viewProperties - The view properties for the widget. For more information about view properties, see View properties for widgets in the CloudTrail User Guide.
      Returns:
      Returns a reference to this object so that method calls can be chained together.