Interface ListCoverageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListCoverageRequest.Builder,
,ListCoverageRequest> Inspector2Request.Builder
,SdkBuilder<ListCoverageRequest.Builder,
,ListCoverageRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListCoverageRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListCoverageRequest.Builder
filterCriteria
(Consumer<CoverageFilterCriteria.Builder> filterCriteria) An object that contains details on the filters to apply to the coverage data for your environment.filterCriteria
(CoverageFilterCriteria filterCriteria) An object that contains details on the filters to apply to the coverage data for your environment.maxResults
(Integer maxResults) The maximum number of results the response can return.A token to use for paginating results that are returned 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.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
-
filterCriteria
An object that contains details on the filters to apply to the coverage data for your environment.
- Parameters:
filterCriteria
- An object that contains details on the filters to apply to the coverage data for your environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default ListCoverageRequest.Builder filterCriteria(Consumer<CoverageFilterCriteria.Builder> filterCriteria) An object that contains details on the filters to apply to the coverage data for your environment.
This is a convenience method that creates an instance of theCoverageFilterCriteria.Builder
avoiding the need to create one manually viaCoverageFilterCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilterCriteria(CoverageFilterCriteria)
.- Parameters:
filterCriteria
- a consumer that will call methods onCoverageFilterCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results the response can return. If your request would return more than the maximum the response will return a
nextToken
value, use this value when you call the action again to get the remaining results.- Parameters:
maxResults
- The maximum number of results the response can return. If your request would return more than the maximum the response will return anextToken
value, use this value when you call the action again to get the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the
maxResults
maximum value it will also return anextToken
value. For subsequent calls, use thenextToken
value returned from the previous request to continue listing results after the first page.- Parameters:
nextToken
- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than themaxResults
maximum value it will also return anextToken
value. For subsequent calls, use thenextToken
value returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListCoverageRequest.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
ListCoverageRequest.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.
-