Interface ListResolverRuleAssociationsResponse.Builder

  • Method Details

    • nextToken

      If more than MaxResults rule associations match the specified criteria, you can submit another ListResolverRuleAssociation request to get the next group of results. In the next request, specify the value of NextToken from the previous response.

      Parameters:
      nextToken - If more than MaxResults rule associations match the specified criteria, you can submit another ListResolverRuleAssociation request to get the next group of results. 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.
    • maxResults

      The value that you specified for MaxResults in the request.

      Parameters:
      maxResults - The value that you specified for MaxResults in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolverRuleAssociations

      ListResolverRuleAssociationsResponse.Builder resolverRuleAssociations(Collection<ResolverRuleAssociation> resolverRuleAssociations)

      The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.

      Parameters:
      resolverRuleAssociations - The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolverRuleAssociations

      ListResolverRuleAssociationsResponse.Builder resolverRuleAssociations(ResolverRuleAssociation... resolverRuleAssociations)

      The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.

      Parameters:
      resolverRuleAssociations - The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resolverRuleAssociations

      ListResolverRuleAssociationsResponse.Builder resolverRuleAssociations(Consumer<ResolverRuleAssociation.Builder>... resolverRuleAssociations)

      The associations that were created between Resolver rules and VPCs using the current Amazon Web Services account, and that match the specified filters, if any.

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

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

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