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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupFilters.Builderfilters(Collection<FilterExpression> filters)A list of filter expressions that define the conditions for this group.GroupFilters.Builderfilters(Consumer<FilterExpression.Builder>... filters)A list of filter expressions that define the conditions for this group.GroupFilters.Builderfilters(FilterExpression... filters)A list of filter expressions that define the conditions for this group.GroupFilters.BuildergroupName(String groupName)The name of the filter group.GroupFilters.BuilderlogicalOperator(String logicalOperator)The logical operator used to combine the filters in this group.GroupFilters.BuilderlogicalOperator(FilterLogicalOperator logicalOperator)The logical operator used to combine the filters in this 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
-
groupName
GroupFilters.Builder groupName(String 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
GroupFilters.Builder filters(Collection<FilterExpression> 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
GroupFilters.Builder filters(FilterExpression... 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
GroupFilters.Builder filters(Consumer<FilterExpression.Builder>... 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 to#filters(List.) - 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:
#filters(java.util.Collection)
-
logicalOperator
GroupFilters.Builder logicalOperator(String 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:
FilterLogicalOperator,FilterLogicalOperator
-
logicalOperator
GroupFilters.Builder logicalOperator(FilterLogicalOperator 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:
FilterLogicalOperator,FilterLogicalOperator
-
-