Interface ListResolverRulesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListResolverRulesRequest.Builder,ListResolverRulesRequest>, Route53ResolverRequest.Builder, SdkBuilder<ListResolverRulesRequest.Builder,ListResolverRulesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListResolverRulesRequest

public static interface ListResolverRulesRequest.Builder extends Route53ResolverRequest.Builder, SdkPojo, CopyableBuilder<ListResolverRulesRequest.Builder,ListResolverRulesRequest>
  • Method Details

    • maxResults

      ListResolverRulesRequest.Builder maxResults(Integer maxResults)

      The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.

      Parameters:
      maxResults - The maximum number of Resolver rules that you want to return in the response to a ListResolverRules request. If you don't specify a value for MaxResults, Resolver returns up to 100 Resolver rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      For the first ListResolverRules request, omit this value.

      If you have more than MaxResults Resolver rules, you can submit another ListResolverRules request to get the next group of Resolver rules. In the next request, specify the value of NextToken from the previous response.

      Parameters:
      nextToken - For the first ListResolverRules request, omit this value.

      If you have more than MaxResults Resolver rules, you can submit another ListResolverRules request to get the next group of Resolver rules. In the next request, specify the value of NextToken from the previous response.

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

      An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

      If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

      Parameters:
      filters - An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

      If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

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

      An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

      If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

      Parameters:
      filters - An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

      If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

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

      An optional specification to return a subset of Resolver rules, such as all Resolver rules that are associated with the same Resolver endpoint.

      If you submit a second or subsequent ListResolverRules request and specify the NextToken parameter, you must use the same values for Filters, if any, as in the previous request.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<Filter>).

      Parameters:
      filters - a consumer that will call methods on Filter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      ListResolverRulesRequest.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.