Interface UsageStatistics.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageStatistics.Builder,UsageStatistics>,SdkBuilder<UsageStatistics.Builder,UsageStatistics>,SdkPojo
- Enclosing class:
- UsageStatistics
public static interface UsageStatistics.Builder extends SdkPojo, CopyableBuilder<UsageStatistics.Builder,UsageStatistics>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsageStatistics.BuildersumByAccount(Collection<UsageAccountResult> sumByAccount)The usage statistic sum organized by account ID.UsageStatistics.BuildersumByAccount(Consumer<UsageAccountResult.Builder>... sumByAccount)The usage statistic sum organized by account ID.UsageStatistics.BuildersumByAccount(UsageAccountResult... sumByAccount)The usage statistic sum organized by account ID.UsageStatistics.BuildersumByDataSource(Collection<UsageDataSourceResult> sumByDataSource)The usage statistic sum organized by on data source.UsageStatistics.BuildersumByDataSource(Consumer<UsageDataSourceResult.Builder>... sumByDataSource)The usage statistic sum organized by on data source.UsageStatistics.BuildersumByDataSource(UsageDataSourceResult... sumByDataSource)The usage statistic sum organized by on data source.UsageStatistics.BuildersumByFeature(Collection<UsageFeatureResult> sumByFeature)The usage statistic sum organized by feature.UsageStatistics.BuildersumByFeature(Consumer<UsageFeatureResult.Builder>... sumByFeature)The usage statistic sum organized by feature.UsageStatistics.BuildersumByFeature(UsageFeatureResult... sumByFeature)The usage statistic sum organized by feature.UsageStatistics.BuildersumByResource(Collection<UsageResourceResult> sumByResource)The usage statistic sum organized by resource.UsageStatistics.BuildersumByResource(Consumer<UsageResourceResult.Builder>... sumByResource)The usage statistic sum organized by resource.UsageStatistics.BuildersumByResource(UsageResourceResult... sumByResource)The usage statistic sum organized by resource.UsageStatistics.BuildertopResources(Collection<UsageResourceResult> topResources)Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.UsageStatistics.BuildertopResources(Consumer<UsageResourceResult.Builder>... topResources)Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.UsageStatistics.BuildertopResources(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, sdkFields
-
-
-
-
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.
-
sumByAccount
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.Builderavoiding the need to create one manually viaUsageAccountResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sumByAccount(List.) - 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:
#sumByAccount(java.util.Collection)
-
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.
-
sumByDataSource
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.Builderavoiding the need to create one manually viaUsageDataSourceResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sumByDataSource(List.) - 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:
#sumByDataSource(java.util.Collection)
-
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.
-
sumByResource
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.Builderavoiding the need to create one manually viaUsageResourceResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sumByResource(List.) - 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:
#sumByResource(java.util.Collection)
-
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.
-
topResources
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.Builderavoiding the need to create one manually viaUsageResourceResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topResources(List.) - 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:
#topResources(java.util.Collection)
-
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.
-
sumByFeature
UsageStatistics.Builder sumByFeature(Consumer<UsageFeatureResult.Builder>... sumByFeature)
The usage statistic sum organized by feature.
This is a convenience method that creates an instance of theUsageFeatureResult.Builderavoiding the need to create one manually viaUsageFeatureResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sumByFeature(List.) - 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:
#sumByFeature(java.util.Collection)
-
-