Interface ProtectedResourceConditions.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ProtectedResourceConditions.Builder,ProtectedResourceConditions>, SdkBuilder<ProtectedResourceConditions.Builder,ProtectedResourceConditions>, SdkPojo
Enclosing class:
ProtectedResourceConditions

public static interface ProtectedResourceConditions.Builder extends SdkPojo, CopyableBuilder<ProtectedResourceConditions.Builder,ProtectedResourceConditions>
  • Method Details

    • 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

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

      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:
    • 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<KeyValue>).

      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: