Interface ListRulesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudWatchEventsResponse.Builder, CopyableBuilder<ListRulesResponse.Builder,ListRulesResponse>, SdkBuilder<ListRulesResponse.Builder,ListRulesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListRulesResponse

public static interface ListRulesResponse.Builder extends CloudWatchEventsResponse.Builder, SdkPojo, CopyableBuilder<ListRulesResponse.Builder,ListRulesResponse>
  • Method Details

    • rules

      The rules that match the specified criteria.

      Parameters:
      rules - The rules that match the specified criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      The rules that match the specified criteria.

      Parameters:
      rules - The rules that match the specified criteria.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      The rules that match the specified criteria.

      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<Rule>).

      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:
    • nextToken

      ListRulesResponse.Builder nextToken(String nextToken)

      Indicates whether there are additional results to retrieve. If there are no more results, the value is null.

      Parameters:
      nextToken - Indicates whether there are additional results to retrieve. If there are no more results, the value is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.