Interface GetResourcesStatisticsV2Request.Builder

  • Method Details

    • groupByRules

      How resource statistics should be aggregated and organized in the response.

      Parameters:
      groupByRules - How resource statistics should be aggregated and organized in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupByRules

      How resource statistics should be aggregated and organized in the response.

      Parameters:
      groupByRules - How resource statistics should be aggregated and organized in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupByRules

      How resource statistics should be aggregated and organized in the response.

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

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

      Parameters:
      groupByRules - a consumer that will call methods on ResourceGroupByRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scopes

      Limits the results to resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an AccessDeniedException.

      This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for their own resources.

      You can specify up to 10 entries in Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.

      Parameters:
      scopes - Limits the results to resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an AccessDeniedException.

      This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for their own resources.

      You can specify up to 10 entries in Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.

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

      Limits the results to resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an AccessDeniedException.

      This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for their own resources.

      You can specify up to 10 entries in Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.

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

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

      Parameters:
      scopes - a consumer that will call methods on ResourceScopes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      Sorts aggregated statistics.

      Parameters:
      sortOrder - Sorts aggregated statistics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortOrder

      Sorts aggregated statistics.

      Parameters:
      sortOrder - Sorts aggregated statistics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxStatisticResults

      GetResourcesStatisticsV2Request.Builder maxStatisticResults(Integer maxStatisticResults)

      The maximum number of results to be returned.

      Parameters:
      maxStatisticResults - The maximum number of results to be returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      GetResourcesStatisticsV2Request.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.