Interface ListUsageTotalsRequest.Builder

    • Method Detail

      • accountIds

        ListUsageTotalsRequest.Builder accountIds​(Collection<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.
      • 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.