Interface GroupFilters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupFilters.Builder,,GroupFilters> SdkBuilder<GroupFilters.Builder,,GroupFilters> SdkPojo
- Enclosing class:
- GroupFilters
@Mutable
@NotThreadSafe
public static interface GroupFilters.Builder
extends SdkPojo, CopyableBuilder<GroupFilters.Builder,GroupFilters>
-
Method Summary
Modifier and TypeMethodDescriptionfilters(Collection<FilterExpression> filters) A list of filter expressions that define the conditions for this group.filters(Consumer<FilterExpression.Builder>... filters) A list of filter expressions that define the conditions for this group.filters(FilterExpression... filters) A list of filter expressions that define the conditions for this group.The name of the filter group.logicalOperator(String logicalOperator) The logical operator used to combine the filters in this group.logicalOperator(FilterLogicalOperator logicalOperator) The logical operator used to combine the filters in this group.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
-
groupName
The name of the filter group.
- Parameters:
groupName- The name of the filter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A list of filter expressions that define the conditions for this group.
- Parameters:
filters- A list of filter expressions that define the conditions for this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A list of filter expressions that define the conditions for this group.
- Parameters:
filters- A list of filter expressions that define the conditions for this group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
A list of filter expressions that define the conditions for this group.
This is a convenience method that creates an instance of theFilterExpression.Builderavoiding the need to create one manually viaFilterExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(List<FilterExpression>).- Parameters:
filters- a consumer that will call methods onFilterExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logicalOperator
The logical operator used to combine the filters in this group. Determines whether all filters must match (AND) or any filter can match (OR).
- Parameters:
logicalOperator- The logical operator used to combine the filters in this group. Determines whether all filters must match (AND) or any filter can match (OR).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logicalOperator
The logical operator used to combine the filters in this group. Determines whether all filters must match (AND) or any filter can match (OR).
- Parameters:
logicalOperator- The logical operator used to combine the filters in this group. Determines whether all filters must match (AND) or any filter can match (OR).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-