Interface UpdateRuleSetRequest.Builder

    • Method Detail

      • ruleSetId

        UpdateRuleSetRequest.Builder ruleSetId​(String ruleSetId)

        The identifier of a rule set you want to update.

        Parameters:
        ruleSetId - The identifier of a rule set you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleSetName

        UpdateRuleSetRequest.Builder ruleSetName​(String ruleSetName)

        A user-friendly name for the rule set resource.

        Parameters:
        ruleSetName - A user-friendly name for the rule set resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        UpdateRuleSetRequest.Builder rules​(Collection<Rule> rules)

        A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.

        Parameters:
        rules - A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        UpdateRuleSetRequest.Builder rules​(Rule... rules)

        A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.

        Parameters:
        rules - A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        UpdateRuleSetRequest.Builder rules​(Consumer<Rule.Builder>... rules)

        A new set of rules to replace the current rules of the rule set—these rules will override all the rules of the rule set.

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

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

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