Interface PrivacyBudgets.Builder

  • Method Details

    • accessBudgets

      PrivacyBudgets.Builder accessBudgets(Collection<AccessBudget> accessBudgets)

      A list of access budgets that apply to resources associated with this Clean Rooms ML input channel.

      Parameters:
      accessBudgets - A list of access budgets that apply to resources associated with this Clean Rooms ML input channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessBudgets

      PrivacyBudgets.Builder accessBudgets(AccessBudget... accessBudgets)

      A list of access budgets that apply to resources associated with this Clean Rooms ML input channel.

      Parameters:
      accessBudgets - A list of access budgets that apply to resources associated with this Clean Rooms ML input channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessBudgets

      PrivacyBudgets.Builder accessBudgets(Consumer<AccessBudget.Builder>... accessBudgets)

      A list of access budgets that apply to resources associated with this Clean Rooms ML input channel.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to accessBudgets(List<AccessBudget>).

      Parameters:
      accessBudgets - a consumer that will call methods on AccessBudget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: