Interface ListSafetyRulesResponse.Builder

    • Method Detail

      • nextToken

        ListSafetyRulesResponse.Builder nextToken​(String nextToken)

        The token that identifies which batch of results you want to see.

        Parameters:
        nextToken - The token that identifies which batch of results you want to see.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • safetyRules

        ListSafetyRulesResponse.Builder safetyRules​(Collection<Rule> safetyRules)

        The list of safety rules in a control panel.

        Parameters:
        safetyRules - The list of safety rules in a control panel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • safetyRules

        ListSafetyRulesResponse.Builder safetyRules​(Rule... safetyRules)

        The list of safety rules in a control panel.

        Parameters:
        safetyRules - The list of safety rules in a control panel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • safetyRules

        ListSafetyRulesResponse.Builder safetyRules​(Consumer<Rule.Builder>... safetyRules)

        The list of safety rules in a control panel.

        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 #safetyRules(List).

        Parameters:
        safetyRules - 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:
        #safetyRules(java.util.Collection)