Interface UsageStatistics.Builder

    • Method Detail

      • sumByAccount

        UsageStatistics.Builder sumByAccount​(Collection<UsageAccountResult> sumByAccount)

        The usage statistic sum organized by account ID.

        Parameters:
        sumByAccount - The usage statistic sum organized by account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sumByAccount

        UsageStatistics.Builder sumByAccount​(UsageAccountResult... sumByAccount)

        The usage statistic sum organized by account ID.

        Parameters:
        sumByAccount - The usage statistic sum organized by account ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topAccountsByFeature

        UsageStatistics.Builder topAccountsByFeature​(Collection<UsageTopAccountsResult> topAccountsByFeature)

        Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.

        Currently, this doesn't support RDS_LOGIN_EVENTS.

        Parameters:
        topAccountsByFeature - Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.

        Currently, this doesn't support RDS_LOGIN_EVENTS.

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

        UsageStatistics.Builder topAccountsByFeature​(UsageTopAccountsResult... topAccountsByFeature)

        Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.

        Currently, this doesn't support RDS_LOGIN_EVENTS.

        Parameters:
        topAccountsByFeature - Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.

        Currently, this doesn't support RDS_LOGIN_EVENTS.

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

        UsageStatistics.Builder sumByDataSource​(Collection<UsageDataSourceResult> sumByDataSource)

        The usage statistic sum organized by on data source.

        Parameters:
        sumByDataSource - The usage statistic sum organized by on data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sumByDataSource

        UsageStatistics.Builder sumByDataSource​(UsageDataSourceResult... sumByDataSource)

        The usage statistic sum organized by on data source.

        Parameters:
        sumByDataSource - The usage statistic sum organized by on data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sumByResource

        UsageStatistics.Builder sumByResource​(Collection<UsageResourceResult> sumByResource)

        The usage statistic sum organized by resource.

        Parameters:
        sumByResource - The usage statistic sum organized by resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sumByResource

        UsageStatistics.Builder sumByResource​(UsageResourceResult... sumByResource)

        The usage statistic sum organized by resource.

        Parameters:
        sumByResource - The usage statistic sum organized by resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topResources

        UsageStatistics.Builder topResources​(Collection<UsageResourceResult> topResources)

        Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.

        Parameters:
        topResources - Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topResources

        UsageStatistics.Builder topResources​(UsageResourceResult... topResources)

        Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.

        Parameters:
        topResources - Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sumByFeature

        UsageStatistics.Builder sumByFeature​(Collection<UsageFeatureResult> sumByFeature)

        The usage statistic sum organized by feature.

        Parameters:
        sumByFeature - The usage statistic sum organized by feature.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sumByFeature

        UsageStatistics.Builder sumByFeature​(UsageFeatureResult... sumByFeature)

        The usage statistic sum organized by feature.

        Parameters:
        sumByFeature - The usage statistic sum organized by feature.
        Returns:
        Returns a reference to this object so that method calls can be chained together.