Interface GetUsageStatisticsRequest.Builder

  • Method Details

    • 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

      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

      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.

      This is a convenience method that creates an instance of the UsageStatisticsFilter.Builder avoiding the need to create one manually via UsageStatisticsFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filterBy(List<UsageStatisticsFilter>).

      Parameters:
      filterBy - a consumer that will call methods on UsageStatisticsFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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.
    • sortBy

      The criteria to use to sort the query results.

      This is a convenience method that creates an instance of the UsageStatisticsSortBy.Builder avoiding the need to create one manually via UsageStatisticsSortBy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sortBy(UsageStatisticsSortBy).

      Parameters:
      sortBy - a consumer that will call methods on UsageStatisticsSortBy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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:
    • overrideConfiguration

      GetUsageStatisticsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.