public static interface UsageStatistics.Builder extends SdkPojo, CopyableBuilder<UsageStatistics.Builder,UsageStatistics>
Modifier and Type | Method and Description |
---|---|
UsageStatistics.Builder |
sumByAccount(Collection<UsageAccountResult> sumByAccount)
The usage statistic sum organized by account ID.
|
UsageStatistics.Builder |
sumByAccount(Consumer<UsageAccountResult.Builder>... sumByAccount)
The usage statistic sum organized by account ID.
|
UsageStatistics.Builder |
sumByAccount(UsageAccountResult... sumByAccount)
The usage statistic sum organized by account ID.
|
UsageStatistics.Builder |
sumByDataSource(Collection<UsageDataSourceResult> sumByDataSource)
The usage statistic sum organized by on data source.
|
UsageStatistics.Builder |
sumByDataSource(Consumer<UsageDataSourceResult.Builder>... sumByDataSource)
The usage statistic sum organized by on data source.
|
UsageStatistics.Builder |
sumByDataSource(UsageDataSourceResult... sumByDataSource)
The usage statistic sum organized by on data source.
|
UsageStatistics.Builder |
sumByResource(Collection<UsageResourceResult> sumByResource)
The usage statistic sum organized by resource.
|
UsageStatistics.Builder |
sumByResource(Consumer<UsageResourceResult.Builder>... sumByResource)
The usage statistic sum organized by resource.
|
UsageStatistics.Builder |
sumByResource(UsageResourceResult... sumByResource)
The usage statistic sum organized by resource.
|
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.
|
UsageStatistics.Builder |
topResources(Consumer<UsageResourceResult.Builder>... topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least
expensive.
|
UsageStatistics.Builder |
topResources(UsageResourceResult... topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least
expensive.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
UsageStatistics.Builder sumByAccount(Collection<UsageAccountResult> sumByAccount)
The usage statistic sum organized by account ID.
sumByAccount
- The usage statistic sum organized by account ID.UsageStatistics.Builder sumByAccount(UsageAccountResult... sumByAccount)
The usage statistic sum organized by account ID.
sumByAccount
- The usage statistic sum organized by account ID.UsageStatistics.Builder sumByAccount(Consumer<UsageAccountResult.Builder>... sumByAccount)
The usage statistic sum organized by account ID.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #sumByAccount(List)
.sumByAccount
- a consumer that will call methods on List.Builder
#sumByAccount(List)
UsageStatistics.Builder sumByDataSource(Collection<UsageDataSourceResult> sumByDataSource)
The usage statistic sum organized by on data source.
sumByDataSource
- The usage statistic sum organized by on data source.UsageStatistics.Builder sumByDataSource(UsageDataSourceResult... sumByDataSource)
The usage statistic sum organized by on data source.
sumByDataSource
- The usage statistic sum organized by on data source.UsageStatistics.Builder sumByDataSource(Consumer<UsageDataSourceResult.Builder>... sumByDataSource)
The usage statistic sum organized by on data source.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #sumByDataSource(List)
.sumByDataSource
- a consumer that will call methods on List.Builder
#sumByDataSource(List)
UsageStatistics.Builder sumByResource(Collection<UsageResourceResult> sumByResource)
The usage statistic sum organized by resource.
sumByResource
- The usage statistic sum organized by resource.UsageStatistics.Builder sumByResource(UsageResourceResult... sumByResource)
The usage statistic sum organized by resource.
sumByResource
- The usage statistic sum organized by resource.UsageStatistics.Builder sumByResource(Consumer<UsageResourceResult.Builder>... sumByResource)
The usage statistic sum organized by resource.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #sumByResource(List)
.sumByResource
- a consumer that will call methods on List.Builder
#sumByResource(List)
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.
topResources
- Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least
expensive.UsageStatistics.Builder topResources(UsageResourceResult... topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
topResources
- Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least
expensive.UsageStatistics.Builder topResources(Consumer<UsageResourceResult.Builder>... topResources)
Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #topResources(List)
.topResources
- a consumer that will call methods on List.Builder
#topResources(List)