Interface ModifyRuleResponse.Builder

    • Method Detail

      • rules

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

        Information about the modified rule.

        Parameters:
        rules - Information about the modified rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

        ModifyRuleResponse.Builder rules​(Rule... rules)

        Information about the modified rule.

        Parameters:
        rules - Information about the modified rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rules

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

        Information about the modified rule.

        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)