Interface SearchResourcesTagCriterion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchResourcesTagCriterion.Builder,SearchResourcesTagCriterion>,SdkBuilder<SearchResourcesTagCriterion.Builder,SearchResourcesTagCriterion>,SdkPojo
- Enclosing class:
- SearchResourcesTagCriterion
public static interface SearchResourcesTagCriterion.Builder extends SdkPojo, CopyableBuilder<SearchResourcesTagCriterion.Builder,SearchResourcesTagCriterion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchResourcesTagCriterion.Buildercomparator(String comparator)The operator to use in the condition.SearchResourcesTagCriterion.Buildercomparator(SearchResourcesComparator comparator)The operator to use in the condition.SearchResourcesTagCriterion.BuildertagValues(Collection<SearchResourcesTagCriterionPair> tagValues)The tag keys, tag values, or tag key and value pairs to use in the condition.SearchResourcesTagCriterion.BuildertagValues(Consumer<SearchResourcesTagCriterionPair.Builder>... tagValues)The tag keys, tag values, or tag key and value pairs to use in the condition.SearchResourcesTagCriterion.BuildertagValues(SearchResourcesTagCriterionPair... tagValues)The tag keys, tag values, or tag key and value pairs to use in the condition.-
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
-
comparator
SearchResourcesTagCriterion.Builder comparator(String comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
- Parameters:
comparator- The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SearchResourcesComparator,SearchResourcesComparator
-
comparator
SearchResourcesTagCriterion.Builder comparator(SearchResourcesComparator comparator)
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
- Parameters:
comparator- The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SearchResourcesComparator,SearchResourcesComparator
-
tagValues
SearchResourcesTagCriterion.Builder tagValues(Collection<SearchResourcesTagCriterionPair> tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
- Parameters:
tagValues- The tag keys, tag values, or tag key and value pairs to use in the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagValues
SearchResourcesTagCriterion.Builder tagValues(SearchResourcesTagCriterionPair... tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
- Parameters:
tagValues- The tag keys, tag values, or tag key and value pairs to use in the condition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagValues
SearchResourcesTagCriterion.Builder tagValues(Consumer<SearchResourcesTagCriterionPair.Builder>... tagValues)
The tag keys, tag values, or tag key and value pairs to use in the condition.
This is a convenience method that creates an instance of theSearchResourcesTagCriterionPair.Builderavoiding the need to create one manually viaSearchResourcesTagCriterionPair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagValues(List.) - Parameters:
tagValues- a consumer that will call methods onSearchResourcesTagCriterionPair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagValues(java.util.Collection)
-
-