Interface InventoryGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InventoryGroup.Builder,InventoryGroup>,SdkBuilder<InventoryGroup.Builder,InventoryGroup>,SdkPojo
- Enclosing class:
- InventoryGroup
@Mutable @NotThreadSafe public static interface InventoryGroup.Builder extends SdkPojo, CopyableBuilder<InventoryGroup.Builder,InventoryGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InventoryGroup.Builderfilters(Collection<InventoryFilter> filters)Filters define the criteria for the group.InventoryGroup.Builderfilters(Consumer<InventoryFilter.Builder>... filters)Filters define the criteria for the group.InventoryGroup.Builderfilters(InventoryFilter... filters)Filters define the criteria for the group.InventoryGroup.Buildername(String name)The name of the group.-
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 Detail
-
name
InventoryGroup.Builder name(String name)
The name of the group.
- Parameters:
name- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
InventoryGroup.Builder filters(Collection<InventoryFilter> filters)
Filters define the criteria for the group. The
matchingCountfield displays the number of resources that match the criteria. ThenotMatchingCountfield displays the number of resources that don't match the criteria.- Parameters:
filters- Filters define the criteria for the group. ThematchingCountfield displays the number of resources that match the criteria. ThenotMatchingCountfield displays the number of resources that don't match the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
InventoryGroup.Builder filters(InventoryFilter... filters)
Filters define the criteria for the group. The
matchingCountfield displays the number of resources that match the criteria. ThenotMatchingCountfield displays the number of resources that don't match the criteria.- Parameters:
filters- Filters define the criteria for the group. ThematchingCountfield displays the number of resources that match the criteria. ThenotMatchingCountfield displays the number of resources that don't match the criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
InventoryGroup.Builder filters(Consumer<InventoryFilter.Builder>... filters)
Filters define the criteria for the group. The
This is a convenience method that creates an instance of thematchingCountfield displays the number of resources that match the criteria. ThenotMatchingCountfield displays the number of resources that don't match the criteria.InventoryFilter.Builderavoiding the need to create one manually viaInventoryFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onInventoryFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
-