Interface GetResourcesStatisticsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetResourcesStatisticsV2Request.Builder,
,GetResourcesStatisticsV2Request> SdkBuilder<GetResourcesStatisticsV2Request.Builder,
,GetResourcesStatisticsV2Request> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
GetResourcesStatisticsV2Request
@Mutable
@NotThreadSafe
public static interface GetResourcesStatisticsV2Request.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<GetResourcesStatisticsV2Request.Builder,GetResourcesStatisticsV2Request>
-
Method Summary
Modifier and TypeMethodDescriptiongroupByRules
(Collection<ResourceGroupByRule> groupByRules) How resource statistics should be aggregated and organized in the response.groupByRules
(Consumer<ResourceGroupByRule.Builder>... groupByRules) How resource statistics should be aggregated and organized in the response.groupByRules
(ResourceGroupByRule... groupByRules) How resource statistics should be aggregated and organized in the response.maxStatisticResults
(Integer maxStatisticResults) The maximum number of results to be returned.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sorts aggregated statistics.Sorts aggregated statistics.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
groupByRules
How resource statistics should be aggregated and organized in the response.
- Parameters:
groupByRules
- How resource statistics should be aggregated and organized in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByRules
How resource statistics should be aggregated and organized in the response.
- Parameters:
groupByRules
- How resource statistics should be aggregated and organized in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByRules
GetResourcesStatisticsV2Request.Builder groupByRules(Consumer<ResourceGroupByRule.Builder>... groupByRules) How resource statistics should be aggregated and organized in the response.
This is a convenience method that creates an instance of theResourceGroupByRule.Builder
avoiding the need to create one manually viaResourceGroupByRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupByRules(List<ResourceGroupByRule>)
.- Parameters:
groupByRules
- a consumer that will call methods onResourceGroupByRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sorts aggregated statistics.
- Parameters:
sortOrder
- Sorts aggregated statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sorts aggregated statistics.
- Parameters:
sortOrder
- Sorts aggregated statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxStatisticResults
The maximum number of results to be returned.
- Parameters:
maxStatisticResults
- The maximum number of results to be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetResourcesStatisticsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetResourcesStatisticsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-