Interface TagScopeTerm.Builder

    • 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 the TagValuePair.Builder avoiding the need to create one manually via TagValuePair.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tagValues(List).

        Parameters:
        tagValues - a consumer that will call methods on TagValuePair.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.

        Parameters:
        target - The type of object to apply the condition to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TagTarget, TagTarget
      • target

        TagScopeTerm.Builder target​(TagTarget target)

        The type of object to apply the condition to.

        Parameters:
        target - The type of object to apply the condition to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TagTarget, TagTarget