Interface GetCostAndUsageWithResourcesResponse.Builder

    • Method Detail

      • nextPageToken

        GetCostAndUsageWithResourcesResponse.Builder nextPageToken​(String nextPageToken)

        The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

        Parameters:
        nextPageToken - The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupDefinitions

        GetCostAndUsageWithResourcesResponse.Builder groupDefinitions​(Collection<GroupDefinition> groupDefinitions)

        The groups that are specified by the Filter or GroupBy parameters in the request.

        Parameters:
        groupDefinitions - The groups that are specified by the Filter or GroupBy parameters in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groupDefinitions

        GetCostAndUsageWithResourcesResponse.Builder groupDefinitions​(GroupDefinition... groupDefinitions)

        The groups that are specified by the Filter or GroupBy parameters in the request.

        Parameters:
        groupDefinitions - The groups that are specified by the Filter or GroupBy parameters in the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultsByTime

        GetCostAndUsageWithResourcesResponse.Builder resultsByTime​(Collection<ResultByTime> resultsByTime)

        The time period that's covered by the results in the response.

        Parameters:
        resultsByTime - The time period that's covered by the results in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resultsByTime

        GetCostAndUsageWithResourcesResponse.Builder resultsByTime​(ResultByTime... resultsByTime)

        The time period that's covered by the results in the response.

        Parameters:
        resultsByTime - The time period that's covered by the results in the response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionValueAttributes

        GetCostAndUsageWithResourcesResponse.Builder dimensionValueAttributes​(Collection<DimensionValuesWithAttributes> dimensionValueAttributes)

        The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.

        Parameters:
        dimensionValueAttributes - The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionValueAttributes

        GetCostAndUsageWithResourcesResponse.Builder dimensionValueAttributes​(DimensionValuesWithAttributes... dimensionValueAttributes)

        The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.

        Parameters:
        dimensionValueAttributes - The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.