Interface ApiSelectionConfiguration.Builder

  • Method Details

    • apiSelectionMode

      ApiSelectionConfiguration.Builder apiSelectionMode(String apiSelectionMode)
      Sets the value of the ApiSelectionMode property for this object.
      Parameters:
      apiSelectionMode - The new value for the ApiSelectionMode property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • apiSelectionMode

      ApiSelectionConfiguration.Builder apiSelectionMode(ApiSelectionMode apiSelectionMode)
      Sets the value of the ApiSelectionMode property for this object.
      Parameters:
      apiSelectionMode - The new value for the ApiSelectionMode property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ruleFilters

      Required for RULE_BASED, rejected for CUSTOM. Filters are combined with AND, the values within one filter with OR, and evaluated only over the account's Managed APIs. Replaced as a whole on update, not merged.

      Parameters:
      ruleFilters - Required for RULE_BASED, rejected for CUSTOM. Filters are combined with AND, the values within one filter with OR, and evaluated only over the account's Managed APIs. Replaced as a whole on update, not merged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleFilters

      ApiSelectionConfiguration.Builder ruleFilters(RuleFilter... ruleFilters)

      Required for RULE_BASED, rejected for CUSTOM. Filters are combined with AND, the values within one filter with OR, and evaluated only over the account's Managed APIs. Replaced as a whole on update, not merged.

      Parameters:
      ruleFilters - Required for RULE_BASED, rejected for CUSTOM. Filters are combined with AND, the values within one filter with OR, and evaluated only over the account's Managed APIs. Replaced as a whole on update, not merged.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ruleFilters

      Required for RULE_BASED, rejected for CUSTOM. Filters are combined with AND, the values within one filter with OR, and evaluated only over the account's Managed APIs. Replaced as a whole on update, not merged.

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

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

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