Interface GetSoftwareStatisticsV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetSoftwareStatisticsV2Request.Builder,,GetSoftwareStatisticsV2Request> SdkBuilder<GetSoftwareStatisticsV2Request.Builder,,GetSoftwareStatisticsV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
GetSoftwareStatisticsV2Request
-
Method Summary
Modifier and TypeMethodDescriptiongroupByRules(Collection<SoftwareGroupByRule> groupByRules) How software statistics should be aggregated and organized in the response.groupByRules(Consumer<SoftwareGroupByRule.Builder>... groupByRules) How software statistics should be aggregated and organized in the response.groupByRules(SoftwareGroupByRule... groupByRules) How software statistics should be aggregated and organized in the response.maxStatisticResults(Integer maxStatisticResults) The maximum number of grouping values to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.scopes(Consumer<SoftwareScopes.Builder> scopes) Limits the results to software on resources from specific organizational units or from the delegated administrator's organization.scopes(SoftwareScopes scopes) Limits the results to software on resources from specific organizational units or from the delegated administrator's organization.Sorts aggregated statistics by count.Sorts aggregated statistics by count.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
groupByRules
How software statistics should be aggregated and organized in the response.
- Parameters:
groupByRules- How software 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 software statistics should be aggregated and organized in the response.
- Parameters:
groupByRules- How software 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
GetSoftwareStatisticsV2Request.Builder groupByRules(Consumer<SoftwareGroupByRule.Builder>... groupByRules) How software statistics should be aggregated and organized in the response.
This is a convenience method that creates an instance of theSoftwareGroupByRule.Builderavoiding the need to create one manually viaSoftwareGroupByRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupByRules(List<SoftwareGroupByRule>).- Parameters:
groupByRules- a consumer that will call methods onSoftwareGroupByRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scopes
Limits the results to software on resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an
AccessDeniedException.This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for software on their own resources.
You can specify up to 10 entries in
Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.- Parameters:
scopes- Limits the results to software on resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive anAccessDeniedException.This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for software on their own resources.
You can specify up to 10 entries in
Scopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
Limits the results to software on resources from specific organizational units or from the delegated administrator's organization. Only the delegated administrator account can use this parameter. Other accounts receive an
AccessDeniedException.This parameter is optional. If you omit it, the delegated administrator sees statistics from all accounts across the entire organization. Other accounts see only statistics for software on their own resources.
You can specify up to 10 entries in
This is a convenience method that creates an instance of theScopes.AwsOrganizations. If multiple entries are specified, the entries are combined using OR logic.SoftwareScopes.Builderavoiding the need to create one manually viaSoftwareScopes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopes(SoftwareScopes).- Parameters:
scopes- a consumer that will call methods onSoftwareScopes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sorts aggregated statistics by count. The default is descending, which returns the values with the highest counts first.
- Parameters:
sortOrder- Sorts aggregated statistics by count. The default is descending, which returns the values with the highest counts first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortOrder
Sorts aggregated statistics by count. The default is descending, which returns the values with the highest counts first.
- Parameters:
sortOrder- Sorts aggregated statistics by count. The default is descending, which returns the values with the highest counts first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxStatisticResults
The maximum number of grouping values to return. Valid values are 1–400. The default is 400.
- Parameters:
maxStatisticResults- The maximum number of grouping values to return. Valid values are 1–400. The default is 400.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetSoftwareStatisticsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetSoftwareStatisticsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-