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 Details

    • 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:
    • 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:
    • 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

      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

      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<TagValuePair>).

      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:
    • 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:
    • 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: