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, sdkFieldscopyapplyMutation, buildUsageStatistics.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 method that creates an instance of theUsageAccountResult.Builder avoiding the need to
create one manually via UsageAccountResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sumByAccount(List.
sumByAccount - a consumer that will call methods on
UsageAccountResult.Builder#sumByAccount(java.util.Collection) 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 method that creates an instance of theUsageDataSourceResult.Builder avoiding the need to
create one manually via
UsageDataSourceResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sumByDataSource(List.
sumByDataSource - a consumer that will call methods on
UsageDataSourceResult.Builder#sumByDataSource(java.util.Collection) 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 method that creates an instance of theUsageResourceResult.Builder avoiding the need to
create one manually via UsageResourceResult.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sumByResource(List.
sumByResource - a consumer that will call methods on
UsageResourceResult.Builder#sumByResource(java.util.Collection) 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 method that creates an instance of theUsageResourceResult.Builder avoiding the need to
create one manually via UsageResourceResult.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #topResources(List.
topResources - a consumer that will call methods on
UsageResourceResult.Builder#topResources(java.util.Collection) Copyright © 2023. All rights reserved.