Interface ListUsageTotalsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListUsageTotalsRequest.Builder,ListUsageTotalsRequest>, Inspector2Request.Builder, SdkBuilder<ListUsageTotalsRequest.Builder,ListUsageTotalsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListUsageTotalsRequest

public static interface ListUsageTotalsRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<ListUsageTotalsRequest.Builder,ListUsageTotalsRequest>
  • Method Details

    • accountIds

      The Amazon Web Services account IDs to retrieve usage totals for.

      Parameters:
      accountIds - The Amazon Web Services account IDs to retrieve usage totals for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountIds

      ListUsageTotalsRequest.Builder accountIds(String... accountIds)

      The Amazon Web Services account IDs to retrieve usage totals for.

      Parameters:
      accountIds - The Amazon Web Services account IDs to retrieve usage totals for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListUsageTotalsRequest.Builder maxResults(Integer maxResults)

      The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

      Parameters:
      maxResults - The maximum number of results the response can return. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListUsageTotalsRequest.Builder nextToken(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. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.

      Parameters:
      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. If your response returns more than the maxResults maximum value it will also return a nextToken value. For subsequent calls, use the nextToken value returned from the previous request to continue listing results after the first page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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