Interface SearchResourcesCriteriaBlock.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchResourcesCriteriaBlock.Builder,SearchResourcesCriteriaBlock>,SdkBuilder<SearchResourcesCriteriaBlock.Builder,SearchResourcesCriteriaBlock>,SdkPojo
- Enclosing class:
- SearchResourcesCriteriaBlock
public static interface SearchResourcesCriteriaBlock.Builder extends SdkPojo, CopyableBuilder<SearchResourcesCriteriaBlock.Builder,SearchResourcesCriteriaBlock>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResourcesCriteriaBlock.Builderand(Collection<SearchResourcesCriteria> and)An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results.SearchResourcesCriteriaBlock.Builderand(Consumer<SearchResourcesCriteria.Builder>... and)An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results.SearchResourcesCriteriaBlock.Builderand(SearchResourcesCriteria... and)An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results.-
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
-
and
SearchResourcesCriteriaBlock.Builder and(Collection<SearchResourcesCriteria> and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
- Parameters:
and- An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
SearchResourcesCriteriaBlock.Builder and(SearchResourcesCriteria... and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
- Parameters:
and- An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
and
SearchResourcesCriteriaBlock.Builder and(Consumer<SearchResourcesCriteria.Builder>... and)
An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
This is a convenience method that creates an instance of theSearchResourcesCriteria.Builderavoiding the need to create one manually viaSearchResourcesCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#and(List.) - Parameters:
and- a consumer that will call methods onSearchResourcesCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#and(java.util.Collection)
-
-