Class GetUsageStatisticsRequest

    • Method Detail

      • detectorId

        public final String detectorId()

        The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.

        To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

        Returns:
        The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.

        To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

      • usageCriteria

        public final UsageCriteria usageCriteria()

        Represents the criteria used for querying usage.

        Returns:
        Represents the criteria used for querying usage.
      • unit

        public final String unit()

        The currency unit you would like to view your usage statistics in. Current valid values are USD.

        Returns:
        The currency unit you would like to view your usage statistics in. Current valid values are USD.
      • maxResults

        public final Integer maxResults()

        The maximum number of results to return in the response.

        Returns:
        The maximum number of results to return in the response.
      • nextToken

        public final String nextToken()

        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

        Returns:
        A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
      • 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