Interface SearchResourcesCriteria.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchResourcesCriteria.Builder,SearchResourcesCriteria>,SdkBuilder<SearchResourcesCriteria.Builder,SearchResourcesCriteria>,SdkPojo
- Enclosing class:
- SearchResourcesCriteria
public static interface SearchResourcesCriteria.Builder extends SdkPojo, CopyableBuilder<SearchResourcesCriteria.Builder,SearchResourcesCriteria>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SearchResourcesCriteria.BuildersimpleCriterion(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.SearchResourcesCriteria.BuildersimpleCriterion(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.BuildertagCriterion(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.SearchResourcesCriteria.BuildertagCriterion(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 Detail
-
simpleCriterion
SearchResourcesCriteria.Builder 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.
- 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.Builderavoiding the need to create one manually viaSearchResourcesSimpleCriterion.builder().When the
Consumercompletes,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:
simpleCriterion(SearchResourcesSimpleCriterion)
-
tagCriterion
SearchResourcesCriteria.Builder 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.
- 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.Builderavoiding the need to create one manually viaSearchResourcesTagCriterion.builder().When the
Consumercompletes,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:
tagCriterion(SearchResourcesTagCriterion)
-
-