Interface ListResolverConfigsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListResolverConfigsResponse.Builder,
,ListResolverConfigsResponse> Route53ResolverResponse.Builder
,SdkBuilder<ListResolverConfigsResponse.Builder,
,ListResolverConfigsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListResolverConfigsResponse
-
Method Summary
Modifier and TypeMethodDescriptionIf a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account,NextToken
doesn't appear in the response.resolverConfigs
(Collection<ResolverConfig> resolverConfigs) An array that contains oneResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.resolverConfigs
(Consumer<ResolverConfig.Builder>... resolverConfigs) An array that contains oneResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.resolverConfigs
(ResolverConfig... resolverConfigs) An array that contains oneResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account,
NextToken
doesn't appear in the response.If a response doesn't include the last of the configurations, you can get more configurations by submitting another
ListResolverConfigs
request. Get the value ofNextToken
that Amazon RouteĀ 53 returned in the previous response and include it inNextToken
in the next request.- Parameters:
nextToken
- If a response includes the last of the Resolver configurations that are associated with the current Amazon Web Services account,NextToken
doesn't appear in the response.If a response doesn't include the last of the configurations, you can get more configurations by submitting another
ListResolverConfigs
request. Get the value ofNextToken
that Amazon RouteĀ 53 returned in the previous response and include it inNextToken
in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolverConfigs
An array that contains one
ResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.- Parameters:
resolverConfigs
- An array that contains oneResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolverConfigs
An array that contains one
ResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.- Parameters:
resolverConfigs
- An array that contains oneResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resolverConfigs
ListResolverConfigsResponse.Builder resolverConfigs(Consumer<ResolverConfig.Builder>... resolverConfigs) An array that contains one
This is a convenience method that creates an instance of theResolverConfigs
element for each Resolver configuration that is associated with the current Amazon Web Services account.ResolverConfig.Builder
avoiding the need to create one manually viaResolverConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresolverConfigs(List<ResolverConfig>)
.- Parameters:
resolverConfigs
- a consumer that will call methods onResolverConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-