Interface UsageCriteria.Builder

    • Method Detail

      • accountIds

        UsageCriteria.Builder accountIds​(Collection<String> accountIds)

        The account IDs to aggregate usage statistics from.

        Parameters:
        accountIds - The account IDs to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • accountIds

        UsageCriteria.Builder accountIds​(String... accountIds)

        The account IDs to aggregate usage statistics from.

        Parameters:
        accountIds - The account IDs to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourcesWithStrings

        @Deprecated
        UsageCriteria.Builder dataSourcesWithStrings​(Collection<String> dataSources)
        Deprecated.
        This parameter is deprecated, use Features instead

        The data sources to aggregate usage statistics from.

        Parameters:
        dataSources - The data sources to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSourcesWithStrings

        @Deprecated
        UsageCriteria.Builder dataSourcesWithStrings​(String... dataSources)
        Deprecated.
        This parameter is deprecated, use Features instead

        The data sources to aggregate usage statistics from.

        Parameters:
        dataSources - The data sources to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSources

        @Deprecated
        UsageCriteria.Builder dataSources​(Collection<DataSource> dataSources)
        Deprecated.
        This parameter is deprecated, use Features instead

        The data sources to aggregate usage statistics from.

        Parameters:
        dataSources - The data sources to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSources

        @Deprecated
        UsageCriteria.Builder dataSources​(DataSource... dataSources)
        Deprecated.
        This parameter is deprecated, use Features instead

        The data sources to aggregate usage statistics from.

        Parameters:
        dataSources - The data sources to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        UsageCriteria.Builder resources​(Collection<String> resources)

        The resources to aggregate usage statistics from. Only accepts exact resource names.

        Parameters:
        resources - The resources to aggregate usage statistics from. Only accepts exact resource names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resources

        UsageCriteria.Builder resources​(String... resources)

        The resources to aggregate usage statistics from. Only accepts exact resource names.

        Parameters:
        resources - The resources to aggregate usage statistics from. Only accepts exact resource names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featuresWithStrings

        UsageCriteria.Builder featuresWithStrings​(Collection<String> features)

        The features to aggregate usage statistics from.

        Parameters:
        features - The features to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • featuresWithStrings

        UsageCriteria.Builder featuresWithStrings​(String... features)

        The features to aggregate usage statistics from.

        Parameters:
        features - The features to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • features

        UsageCriteria.Builder features​(Collection<UsageFeature> features)

        The features to aggregate usage statistics from.

        Parameters:
        features - The features to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • features

        UsageCriteria.Builder features​(UsageFeature... features)

        The features to aggregate usage statistics from.

        Parameters:
        features - The features to aggregate usage statistics from.
        Returns:
        Returns a reference to this object so that method calls can be chained together.