Interface ListResolverRuleAssociationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListResolverRuleAssociationsRequest.Builder,
,ListResolverRuleAssociationsRequest> Route53ResolverRequest.Builder
,SdkBuilder<ListResolverRuleAssociationsRequest.Builder,
,ListResolverRuleAssociationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListResolverRuleAssociationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionfilters
(Collection<Filter> filters) An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.filters
(Consumer<Filter.Builder>... filters) An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.maxResults
(Integer maxResults) The maximum number of rule associations that you want to return in the response to aListResolverRuleAssociations
request.For the firstListResolverRuleAssociation
request, omit this value.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
maxResults
The maximum number of rule associations that you want to return in the response to a
ListResolverRuleAssociations
request. If you don't specify a value forMaxResults
, Resolver returns up to 100 rule associations.- Parameters:
maxResults
- The maximum number of rule associations that you want to return in the response to aListResolverRuleAssociations
request. If you don't specify a value forMaxResults
, Resolver returns up to 100 rule associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
For the first
ListResolverRuleAssociation
request, omit this value.If you have more than
MaxResults
rule associations, you can submit anotherListResolverRuleAssociation
request to get the next group of rule associations. In the next request, specify the value ofNextToken
from the previous response.- Parameters:
nextToken
- For the firstListResolverRuleAssociation
request, omit this value.If you have more than
MaxResults
rule associations, you can submit anotherListResolverRuleAssociation
request to get the next group of rule associations. In the next request, specify the value ofNextToken
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 Resolver rules that are associated with the same VPC ID.
If you submit a second or subsequent
ListResolverRuleAssociations
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.- Parameters:
filters
- An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.If you submit a second or subsequent
ListResolverRuleAssociations
request and specify theNextToken
parameter, you must use the same values forFilters
, 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 Resolver rules that are associated with the same VPC ID.
If you submit a second or subsequent
ListResolverRuleAssociations
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.- Parameters:
filters
- An optional specification to return a subset of Resolver rules, such as Resolver rules that are associated with the same VPC ID.If you submit a second or subsequent
ListResolverRuleAssociations
request and specify theNextToken
parameter, you must use the same values forFilters
, 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 Resolver rules that are associated with the same VPC ID.
If you submit a second or subsequent
ListResolverRuleAssociations
request and specify theNextToken
parameter, you must use the same values forFilters
, if any, as in the previous request.Filter.Builder
avoiding the need to create one manually viaFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(List<Filter>)
.- Parameters:
filters
- a consumer that will call methods onFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListResolverRuleAssociationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListResolverRuleAssociationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-