Interface SoftwareGroupByRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SoftwareGroupByRule.Builder,,SoftwareGroupByRule> SdkBuilder<SoftwareGroupByRule.Builder,,SoftwareGroupByRule> SdkPojo
- Enclosing class:
SoftwareGroupByRule
@Mutable
@NotThreadSafe
public static interface SoftwareGroupByRule.Builder
extends SdkPojo, CopyableBuilder<SoftwareGroupByRule.Builder,SoftwareGroupByRule>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SoftwareGroupByRule.Builderfilters(Consumer<SoftwareFilters.Builder> filters) The criteria used to select the software packages included in the statistics.filters(SoftwareFilters filters) The criteria used to select the software packages included in the statistics.groupByField(String groupByField) Specifies the attribute that software statistics should be grouped by.groupByField(SoftwareGroupByField groupByField) Specifies the attribute that software statistics should be grouped by.Methods 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, sdkFields
-
Method Details
-
groupByField
Specifies the attribute that software statistics should be grouped by.
- Parameters:
groupByField- Specifies the attribute that software statistics should be grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupByField
Specifies the attribute that software statistics should be grouped by.
- Parameters:
groupByField- Specifies the attribute that software statistics should be grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filters
The criteria used to select the software packages included in the statistics. You can nest composite filters up to three levels deep.
- Parameters:
filters- The criteria used to select the software packages included in the statistics. You can nest composite filters up to three levels deep.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
The criteria used to select the software packages included in the statistics. You can nest composite filters up to three levels deep.
This is a convenience method that creates an instance of theSoftwareFilters.Builderavoiding the need to create one manually viaSoftwareFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(SoftwareFilters).- Parameters:
filters- a consumer that will call methods onSoftwareFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-