Interface UsageStatistics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UsageStatistics.Builder,
,UsageStatistics> SdkBuilder<UsageStatistics.Builder,
,UsageStatistics> SdkPojo
- Enclosing class:
UsageStatistics
-
Method Summary
Modifier and TypeMethodDescriptionsumByAccount
(Collection<UsageAccountResult> sumByAccount) The usage statistic sum organized by account ID.sumByAccount
(Consumer<UsageAccountResult.Builder>... sumByAccount) The usage statistic sum organized by account ID.sumByAccount
(UsageAccountResult... sumByAccount) The usage statistic sum organized by account ID.sumByDataSource
(Collection<UsageDataSourceResult> sumByDataSource) The usage statistic sum organized by on data source.sumByDataSource
(Consumer<UsageDataSourceResult.Builder>... sumByDataSource) The usage statistic sum organized by on data source.sumByDataSource
(UsageDataSourceResult... sumByDataSource) The usage statistic sum organized by on data source.sumByFeature
(Collection<UsageFeatureResult> sumByFeature) The usage statistic sum organized by feature.sumByFeature
(Consumer<UsageFeatureResult.Builder>... sumByFeature) The usage statistic sum organized by feature.sumByFeature
(UsageFeatureResult... sumByFeature) The usage statistic sum organized by feature.sumByResource
(Collection<UsageResourceResult> sumByResource) The usage statistic sum organized by resource.sumByResource
(Consumer<UsageResourceResult.Builder>... sumByResource) The usage statistic sum organized by resource.sumByResource
(UsageResourceResult... sumByResource) The usage statistic sum organized by resource.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.topAccountsByFeature
(Consumer<UsageTopAccountsResult.Builder>... topAccountsByFeature) Lists the top 50 accounts by feature that have generated the most GuardDuty usage, in the order from most to least expensive.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.topResources
(Collection<UsageResourceResult> topResources) Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.topResources
(Consumer<UsageResourceResult.Builder>... topResources) Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.topResources
(UsageResourceResult... topResources) Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 viaUsageAccountResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosumByAccount(List<UsageAccountResult>)
.- Parameters:
sumByAccount
- a consumer that will call methods onUsageAccountResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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(Consumer<UsageTopAccountsResult.Builder>... 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
This is a convenience method that creates an instance of theRDS_LOGIN_EVENTS
.UsageTopAccountsResult.Builder
avoiding the need to create one manually viaUsageTopAccountsResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopAccountsByFeature(List<UsageTopAccountsResult>)
.- Parameters:
topAccountsByFeature
- a consumer that will call methods onUsageTopAccountsResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 viaUsageDataSourceResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosumByDataSource(List<UsageDataSourceResult>)
.- Parameters:
sumByDataSource
- a consumer that will call methods onUsageDataSourceResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 viaUsageResourceResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosumByResource(List<UsageResourceResult>)
.- Parameters:
sumByResource
- a consumer that will call methods onUsageResourceResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 viaUsageResourceResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopResources(List<UsageResourceResult>)
.- Parameters:
topResources
- a consumer that will call methods onUsageResourceResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The usage statistic sum organized by feature.
This is a convenience method that creates an instance of theUsageFeatureResult.Builder
avoiding the need to create one manually viaUsageFeatureResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosumByFeature(List<UsageFeatureResult>)
.- Parameters:
sumByFeature
- a consumer that will call methods onUsageFeatureResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-