Interface ListResolverRuleAssociationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListResolverRuleAssociationsResponse.Builder,ListResolverRuleAssociationsResponse>,Route53ResolverResponse.Builder,SdkBuilder<ListResolverRuleAssociationsResponse.Builder,ListResolverRuleAssociationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListResolverRuleAssociationsResponse
public static interface ListResolverRuleAssociationsResponse.Builder extends Route53ResolverResponse.Builder, SdkPojo, CopyableBuilder<ListResolverRuleAssociationsResponse.Builder,ListResolverRuleAssociationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListResolverRuleAssociationsResponse.BuildermaxResults(Integer maxResults)The value that you specified forMaxResultsin the request.ListResolverRuleAssociationsResponse.BuildernextToken(String nextToken)If more thanMaxResultsrule associations match the specified criteria, you can submit anotherListResolverRuleAssociationrequest to get the next group of results.ListResolverRuleAssociationsResponse.BuilderresolverRuleAssociations(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.ListResolverRuleAssociationsResponse.BuilderresolverRuleAssociations(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.ListResolverRuleAssociationsResponse.BuilderresolverRuleAssociations(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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListResolverRuleAssociationsResponse.Builder nextToken(String nextToken)
If more than
MaxResultsrule associations match the specified criteria, you can submit anotherListResolverRuleAssociationrequest to get the next group of results. In the next request, specify the value ofNextTokenfrom the previous response.- Parameters:
nextToken- If more thanMaxResultsrule associations match the specified criteria, you can submit anotherListResolverRuleAssociationrequest to get the next group of results. 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.
-
maxResults
ListResolverRuleAssociationsResponse.Builder maxResults(Integer maxResults)
The value that you specified for
MaxResultsin the request.- Parameters:
maxResults- The value that you specified forMaxResultsin 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 theResolverRuleAssociation.Builderavoiding the need to create one manually viaResolverRuleAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resolverRuleAssociations(List.) - Parameters:
resolverRuleAssociations- a consumer that will call methods onResolverRuleAssociation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resolverRuleAssociations(java.util.Collection)
-
-