Interface ProtectedResourceConditions.Builder

    • Method Detail

      • stringEquals

        ProtectedResourceConditions.Builder stringEquals​(Collection<KeyValue> 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

        ProtectedResourceConditions.Builder stringEquals​(KeyValue... 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

        ProtectedResourceConditions.Builder stringEquals​(Consumer<KeyValue.Builder>... stringEquals)

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

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

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

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

        ProtectedResourceConditions.Builder stringNotEquals​(Collection<KeyValue> 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

        ProtectedResourceConditions.Builder stringNotEquals​(KeyValue... 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

        ProtectedResourceConditions.Builder stringNotEquals​(Consumer<KeyValue.Builder>... 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."

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

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

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