Interface ListResourcesInContextStoreRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListResourcesInContextStoreRequest.Builder,,ListResourcesInContextStoreRequest> NetworkFirewallRequest.Builder,SdkBuilder<ListResourcesInContextStoreRequest.Builder,,ListResourcesInContextStoreRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListResourcesInContextStoreRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontextStoreId(String contextStoreId) The unique identifier of the context store.filters(Consumer<ContextFilters.Builder> filters) Optional filters that limit the results to resources in a specific Region, of a specific resource type, or both.filters(ContextFilters filters) Optional filters that limit the results to resources in a specific Region, of a specific resource type, or both.maxResults(Integer maxResults) The maximum number of objects that you want Network Firewall to return for this request.When you request a list of objects with aMaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response.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.networkfirewall.model.NetworkFirewallRequest.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
-
contextStoreId
The unique identifier of the context store. To get the identifiers of the context stores that are associated with your firewalls, call
ListContextStores.- Parameters:
contextStoreId- The unique identifier of the context store. To get the identifiers of the context stores that are associated with your firewalls, callListContextStores.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Optional filters that limit the results to resources in a specific Region, of a specific resource type, or both. If you specify both filters, Network Firewall returns only the resources that match both.
- Parameters:
filters- Optional filters that limit the results to resources in a specific Region, of a specific resource type, or both. If you specify both filters, Network Firewall returns only the resources that match both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default ListResourcesInContextStoreRequest.Builder filters(Consumer<ContextFilters.Builder> filters) Optional filters that limit the results to resources in a specific Region, of a specific resource type, or both. If you specify both filters, Network Firewall returns only the resources that match both.
This is a convenience method that creates an instance of theContextFilters.Builderavoiding the need to create one manually viaContextFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(ContextFilters).- Parameters:
filters- a consumer that will call methods onContextFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides a
NextTokenvalue that you can use in a subsequent call to get the next batch of objects.- Parameters:
maxResults- The maximum number of objects that you want Network Firewall to return for this request. If more objects are available, in the response, Network Firewall provides aNextTokenvalue that you can use in a subsequent call to get the next batch of objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
When you request a list of objects with a
MaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.A token is valid only for the same
ContextStoreIdand filters as the request that returned it.- Parameters:
nextToken- When you request a list of objects with aMaxResultssetting, if the number of objects that are still available for retrieval exceeds the maximum you requested, Network Firewall returns aNextTokenvalue in the response. To retrieve the next batch of objects, use the token returned from the prior request in your next request.A token is valid only for the same
ContextStoreIdand filters as the request that returned it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListResourcesInContextStoreRequest.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
ListResourcesInContextStoreRequest.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.
-