Interface PatchFilterGroup.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<PatchFilterGroup.Builder,PatchFilterGroup>
,SdkBuilder<PatchFilterGroup.Builder,PatchFilterGroup>
,SdkPojo
- Enclosing class:
- PatchFilterGroup
public static interface PatchFilterGroup.Builder extends SdkPojo, CopyableBuilder<PatchFilterGroup.Builder,PatchFilterGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PatchFilterGroup.Builder
patchFilters(Collection<PatchFilter> patchFilters)
The set of patch filters that make up the group.PatchFilterGroup.Builder
patchFilters(Consumer<PatchFilter.Builder>... patchFilters)
The set of patch filters that make up the group.PatchFilterGroup.Builder
patchFilters(PatchFilter... patchFilters)
The set of patch filters that make up 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, sdkFields
-
-
-
-
Method Detail
-
patchFilters
PatchFilterGroup.Builder patchFilters(Collection<PatchFilter> patchFilters)
The set of patch filters that make up the group.
- Parameters:
patchFilters
- The set of patch filters that make up the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchFilters
PatchFilterGroup.Builder patchFilters(PatchFilter... patchFilters)
The set of patch filters that make up the group.
- Parameters:
patchFilters
- The set of patch filters that make up the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchFilters
PatchFilterGroup.Builder patchFilters(Consumer<PatchFilter.Builder>... patchFilters)
The set of patch filters that make up the group.
This is a convenience method that creates an instance of thePatchFilter.Builder
avoiding the need to create one manually viaPatchFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#patchFilters(List
.) - Parameters:
patchFilters
- a consumer that will call methods onPatchFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#patchFilters(java.util.Collection
)
-
-