Interface TagScopeTerm.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TagScopeTerm.Builder,TagScopeTerm>,SdkBuilder<TagScopeTerm.Builder,TagScopeTerm>,SdkPojo
- Enclosing class:
- TagScopeTerm
public static interface TagScopeTerm.Builder extends SdkPojo, CopyableBuilder<TagScopeTerm.Builder,TagScopeTerm>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagScopeTerm.Buildercomparator(String comparator)The operator to use in the condition.TagScopeTerm.Buildercomparator(JobComparator comparator)The operator to use in the condition.TagScopeTerm.Builderkey(String key)The object property to use in the condition.TagScopeTerm.BuildertagValues(Collection<TagValuePair> tagValues)The tag keys or tag key and value pairs to use in the condition.TagScopeTerm.BuildertagValues(Consumer<TagValuePair.Builder>... tagValues)The tag keys or tag key and value pairs to use in the condition.TagScopeTerm.BuildertagValues(TagValuePair... tagValues)The tag keys or tag key and value pairs to use in the condition.TagScopeTerm.Buildertarget(String target)The type of object to apply the condition to.TagScopeTerm.Buildertarget(TagTarget target)The type of object to apply the condition to.-
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
TagScopeTerm.Builder comparator(String comparator)
The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).
- Parameters:
comparator- The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobComparator,JobComparator
-
comparator
TagScopeTerm.Builder comparator(JobComparator comparator)
The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).
- Parameters:
comparator- The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobComparator,JobComparator
-
key
TagScopeTerm.Builder key(String key)
The object property to use in the condition. The only valid value is TAG.
- Parameters:
key- The object property to use in the condition. The only valid value is TAG.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagValues
TagScopeTerm.Builder tagValues(Collection<TagValuePair> tagValues)
The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.
- Parameters:
tagValues- The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagValues
TagScopeTerm.Builder tagValues(TagValuePair... tagValues)
The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.
- Parameters:
tagValues- The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagValues
TagScopeTerm.Builder tagValues(Consumer<TagValuePair.Builder>... tagValues)
The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.
This is a convenience method that creates an instance of theTagValuePair.Builderavoiding the need to create one manually viaTagValuePair.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 onTagValuePair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagValues(java.util.Collection)
-
target
TagScopeTerm.Builder target(String target)
The type of object to apply the condition to.
-
target
TagScopeTerm.Builder target(TagTarget target)
The type of object to apply the condition to.
-
-