Interface GetUsageStatisticsRequest.Builder

    • Method Detail

      • filterBy

        GetUsageStatisticsRequest.Builder filterBy​(Collection<UsageStatisticsFilter> filterBy)

        An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.

        Parameters:
        filterBy - An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filterBy

        GetUsageStatisticsRequest.Builder filterBy​(UsageStatisticsFilter... filterBy)

        An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.

        Parameters:
        filterBy - An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        GetUsageStatisticsRequest.Builder maxResults​(Integer maxResults)

        The maximum number of items to include in each page of the response.

        Parameters:
        maxResults - The maximum number of items to include in each page of the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        GetUsageStatisticsRequest.Builder nextToken​(String nextToken)

        The nextToken string that specifies which page of results to return in a paginated response.

        Parameters:
        nextToken - The nextToken string that specifies which page of results to return in a paginated response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sortBy

        GetUsageStatisticsRequest.Builder sortBy​(UsageStatisticsSortBy sortBy)

        The criteria to use to sort the query results.

        Parameters:
        sortBy - The criteria to use to sort the query results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeRange

        GetUsageStatisticsRequest.Builder timeRange​(String timeRange)

        The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.

        Parameters:
        timeRange - The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeRange, TimeRange
      • timeRange

        GetUsageStatisticsRequest.Builder timeRange​(TimeRange timeRange)

        The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.

        Parameters:
        timeRange - The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TimeRange, TimeRange