Interface SearchResourcesCriteria.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SearchResourcesCriteria.Builder,
,SearchResourcesCriteria> SdkBuilder<SearchResourcesCriteria.Builder,
,SearchResourcesCriteria> SdkPojo
- Enclosing class:
SearchResourcesCriteria
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchResourcesCriteria.Builder
simpleCriterion
(Consumer<SearchResourcesSimpleCriterion.Builder> simpleCriterion) A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.simpleCriterion
(SearchResourcesSimpleCriterion simpleCriterion) A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.default SearchResourcesCriteria.Builder
tagCriterion
(Consumer<SearchResourcesTagCriterion.Builder> tagCriterion) A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.tagCriterion
(SearchResourcesTagCriterion tagCriterion) A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the 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 Details
-
simpleCriterion
A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
- Parameters:
simpleCriterion
- A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simpleCriterion
default SearchResourcesCriteria.Builder simpleCriterion(Consumer<SearchResourcesSimpleCriterion.Builder> simpleCriterion) A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
This is a convenience method that creates an instance of theSearchResourcesSimpleCriterion.Builder
avoiding the need to create one manually viaSearchResourcesSimpleCriterion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosimpleCriterion(SearchResourcesSimpleCriterion)
.- Parameters:
simpleCriterion
- a consumer that will call methods onSearchResourcesSimpleCriterion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagCriterion
A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
- Parameters:
tagCriterion
- A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagCriterion
default SearchResourcesCriteria.Builder tagCriterion(Consumer<SearchResourcesTagCriterion.Builder> tagCriterion) A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
This is a convenience method that creates an instance of theSearchResourcesTagCriterion.Builder
avoiding the need to create one manually viaSearchResourcesTagCriterion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagCriterion(SearchResourcesTagCriterion)
.- Parameters:
tagCriterion
- a consumer that will call methods onSearchResourcesTagCriterion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-