Interface ListFindingAggregatorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListFindingAggregatorsResponse.Builder,
,ListFindingAggregatorsResponse> SdkBuilder<ListFindingAggregatorsResponse.Builder,
,ListFindingAggregatorsResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
ListFindingAggregatorsResponse
public static interface ListFindingAggregatorsResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<ListFindingAggregatorsResponse.Builder,ListFindingAggregatorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfindingAggregators
(Collection<FindingAggregator> findingAggregators) The list of finding aggregators.findingAggregators
(Consumer<FindingAggregator.Builder>... findingAggregators) The list of finding aggregators.findingAggregators
(FindingAggregator... findingAggregators) The list of finding aggregators.If there are more results, this is the token to provide in the next call toListFindingAggregators
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
findingAggregators
ListFindingAggregatorsResponse.Builder findingAggregators(Collection<FindingAggregator> findingAggregators) The list of finding aggregators. This operation currently only returns a single result.
- Parameters:
findingAggregators
- The list of finding aggregators. This operation currently only returns a single result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingAggregators
The list of finding aggregators. This operation currently only returns a single result.
- Parameters:
findingAggregators
- The list of finding aggregators. This operation currently only returns a single result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingAggregators
ListFindingAggregatorsResponse.Builder findingAggregators(Consumer<FindingAggregator.Builder>... findingAggregators) The list of finding aggregators. This operation currently only returns a single result.
This is a convenience method that creates an instance of theFindingAggregator.Builder
avoiding the need to create one manually viaFindingAggregator.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindingAggregators(List<FindingAggregator>)
.- Parameters:
findingAggregators
- a consumer that will call methods onFindingAggregator.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are more results, this is the token to provide in the next call to
ListFindingAggregators
.This operation currently only returns a single result.
- Parameters:
nextToken
- If there are more results, this is the token to provide in the next call toListFindingAggregators
.This operation currently only returns a single result.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-