Interface Conditions.Builder

    • Method Detail

      • stringEquals

        Conditions.Builder stringEquals​(Collection<ConditionParameter> stringEquals)

        Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."

        Parameters:
        stringEquals - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringEquals

        Conditions.Builder stringEquals​(ConditionParameter... stringEquals)

        Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."

        Parameters:
        stringEquals - Filters the values of your tagged resources for only those resources that you tagged with the same value. Also called "exact matching."
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringNotEquals

        Conditions.Builder stringNotEquals​(Collection<ConditionParameter> stringNotEquals)

        Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."

        Parameters:
        stringNotEquals - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringNotEquals

        Conditions.Builder stringNotEquals​(ConditionParameter... stringNotEquals)

        Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."

        Parameters:
        stringNotEquals - Filters the values of your tagged resources for only those resources that you tagged that do not have the same value. Also called "negated matching."
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringLike

        Conditions.Builder stringLike​(Collection<ConditionParameter> stringLike)

        Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".

        Parameters:
        stringLike - Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringLike

        Conditions.Builder stringLike​(ConditionParameter... stringLike)

        Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".

        Parameters:
        stringLike - Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringLike

        Conditions.Builder stringLike​(Consumer<ConditionParameter.Builder>... stringLike)

        Filters the values of your tagged resources for matching tag values with the use of a wildcard character (*) anywhere in the string. For example, "prod*" or "*rod*" matches the tag value "production".

        This is a convenience method that creates an instance of the ConditionParameter.Builder avoiding the need to create one manually via ConditionParameter.builder().

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

        Parameters:
        stringLike - a consumer that will call methods on ConditionParameter.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #stringLike(java.util.Collection)
      • stringNotLike

        Conditions.Builder stringNotLike​(Collection<ConditionParameter> stringNotLike)

        Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.

        Parameters:
        stringNotLike - Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stringNotLike

        Conditions.Builder stringNotLike​(ConditionParameter... stringNotLike)

        Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.

        Parameters:
        stringNotLike - Filters the values of your tagged resources for non-matching tag values with the use of a wildcard character (*) anywhere in the string.
        Returns:
        Returns a reference to this object so that method calls can be chained together.