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 aListResolverRuleAssociationsrequest.For the firstListResolverRuleAssociationrequest, 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxResults
The maximum number of rule associations that you want to return in the response to a
ListResolverRuleAssociationsrequest. 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 aListResolverRuleAssociationsrequest. 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
ListResolverRuleAssociationrequest, omit this value.If you have more than
MaxResultsrule associations, you can submit anotherListResolverRuleAssociationrequest to get the next group of rule associations. In the next request, specify the value ofNextTokenfrom the previous response.- Parameters:
nextToken- For the firstListResolverRuleAssociationrequest, omit this value.If you have more than
MaxResultsrule associations, you can submit anotherListResolverRuleAssociationrequest to get the next group of rule associations. In the next request, specify the value ofNextTokenfrom 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
ListResolverRuleAssociationsrequest and specify theNextTokenparameter, 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
ListResolverRuleAssociationsrequest and specify theNextTokenparameter, 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
ListResolverRuleAssociationsrequest and specify theNextTokenparameter, 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
ListResolverRuleAssociationsrequest and specify theNextTokenparameter, 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.
This is a convenience method that creates an instance of theIf you submit a second or subsequent
ListResolverRuleAssociationsrequest and specify theNextTokenparameter, you must use the same values forFilters, if any, as in the previous request.Filter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-