Interface ListInsightsMetricDataResponse.Builder

  • Method Details

    • eventSource

      The Amazon Web Services service to which the request was made, such as iam.amazonaws.com or s3.amazonaws.com.

      Parameters:
      eventSource - The Amazon Web Services service to which the request was made, such as iam.amazonaws.com or s3.amazonaws.com.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventName

      The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.

      Parameters:
      eventName - The name of the event, typically the Amazon Web Services API on which unusual levels of activity were recorded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insightType

      The type of CloudTrail Insights event, which is either ApiCallRateInsight or ApiErrorRateInsight. The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes.

      Parameters:
      insightType - The type of CloudTrail Insights event, which is either ApiCallRateInsight or ApiErrorRateInsight. The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • insightType

      The type of CloudTrail Insights event, which is either ApiCallRateInsight or ApiErrorRateInsight. The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes.

      Parameters:
      insightType - The type of CloudTrail Insights event, which is either ApiCallRateInsight or ApiErrorRateInsight. The ApiCallRateInsight Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume. The ApiErrorRateInsight Insights type analyzes management API calls that result in error codes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorCode

      Only returned if InsightType parameter was set to ApiErrorRateInsight.

      If returning metrics for the ApiErrorRateInsight Insights type, this is the error to retrieve data for. For example, AccessDenied.

      Parameters:
      errorCode - Only returned if InsightType parameter was set to ApiErrorRateInsight.

      If returning metrics for the ApiErrorRateInsight Insights type, this is the error to retrieve data for. For example, AccessDenied.

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

      List of timestamps at intervals corresponding to the specified time period.

      Parameters:
      timestamps - List of timestamps at intervals corresponding to the specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamps

      List of timestamps at intervals corresponding to the specified time period.

      Parameters:
      timestamps - List of timestamps at intervals corresponding to the specified time period.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.

      Parameters:
      values - List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • values

      List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.

      Parameters:
      values - List of values representing the API call rate or error rate at each timestamp. The number of values is equal to the number of timestamps.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      Only returned if the full results could not be returned in a single query. You can set the NextToken parameter in the next request to this value to continue retrieval.

      Parameters:
      nextToken - Only returned if the full results could not be returned in a single query. You can set the NextToken parameter in the next request to this value to continue retrieval.
      Returns:
      Returns a reference to this object so that method calls can be chained together.