Interface TagCriterionForJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TagCriterionForJob.Builder,
,TagCriterionForJob> SdkBuilder<TagCriterionForJob.Builder,
,TagCriterionForJob> SdkPojo
- Enclosing class:
TagCriterionForJob
public static interface TagCriterionForJob.Builder
extends SdkPojo, CopyableBuilder<TagCriterionForJob.Builder,TagCriterionForJob>
-
Method Summary
Modifier and TypeMethodDescriptioncomparator
(String comparator) The operator to use in the condition.comparator
(JobComparator comparator) The operator to use in the condition.tagValues
(Collection<TagCriterionPairForJob> tagValues) The tag keys, tag values, or tag key and value pairs to use in the condition.tagValues
(Consumer<TagCriterionPairForJob.Builder>... tagValues) The tag keys, tag values, or tag key and value pairs to use in the condition.tagValues
(TagCriterionPairForJob... 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 Details
-
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:
-
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:
-
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
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
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 theTagCriterionPairForJob.Builder
avoiding the need to create one manually viaTagCriterionPairForJob.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagValues(List<TagCriterionPairForJob>)
.- Parameters:
tagValues
- a consumer that will call methods onTagCriterionPairForJob.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-