Interface ListRulesRequest.Builder

  • Method Details

    • namePrefix

      ListRulesRequest.Builder namePrefix(String namePrefix)

      The prefix matching the rule name.

      Parameters:
      namePrefix - The prefix matching the rule name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eventBusName

      ListRulesRequest.Builder eventBusName(String eventBusName)

      The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.

      Parameters:
      eventBusName - The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListRulesRequest.Builder nextToken(String nextToken)

      The token returned by a previous call, which you can use to retrieve the next set of results.

      The value of nextToken is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.

      Using an expired pagination token results in an HTTP 400 InvalidToken error.

      Parameters:
      nextToken - The token returned by a previous call, which you can use to retrieve the next set of results.

      The value of nextToken is a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.

      Using an expired pagination token results in an HTTP 400 InvalidToken error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • limit

      The maximum number of results to return.

      Parameters:
      limit - The maximum number of results to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.