Interface ListImageScanFindingAggregationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListImageScanFindingAggregationsResponse.Builder,
,ListImageScanFindingAggregationsResponse> ImagebuilderResponse.Builder
,SdkBuilder<ListImageScanFindingAggregationsResponse.Builder,
,ListImageScanFindingAggregationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListImageScanFindingAggregationsResponse
-
Method Summary
Modifier and TypeMethodDescriptionaggregationType
(String aggregationType) The aggregation type specifies what type of key is used to group the image scan findings.The next token used for paginated responses.The request ID that uniquely identifies this request.responses
(Collection<ImageScanFindingAggregation> responses) An array of image scan finding aggregations that match the filter criteria.responses
(Consumer<ImageScanFindingAggregation.Builder>... responses) An array of image scan finding aggregations that match the filter criteria.responses
(ImageScanFindingAggregation... responses) An array of image scan finding aggregations that match the filter criteria.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.imagebuilder.model.ImagebuilderResponse.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
-
requestId
The request ID that uniquely identifies this request.
- Parameters:
requestIdValue
- The request ID that uniquely identifies this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationType
The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns results based on the request filter. If you didn't specify a filter in the request, the type defaults to
accountId
.Aggregation types
-
accountId
-
imageBuildVersionArn
-
imagePipelineArn
-
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
- Parameters:
aggregationType
- The aggregation type specifies what type of key is used to group the image scan findings. Image Builder returns results based on the request filter. If you didn't specify a filter in the request, the type defaults toaccountId
.Aggregation types
-
accountId
-
imageBuildVersionArn
-
imagePipelineArn
-
vulnerabilityId
Each aggregation includes counts by severity level for medium severity and higher level findings, plus a total for all of the findings for each key value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
responses
ListImageScanFindingAggregationsResponse.Builder responses(Collection<ImageScanFindingAggregation> responses) An array of image scan finding aggregations that match the filter criteria.
- Parameters:
responses
- An array of image scan finding aggregations that match the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
ListImageScanFindingAggregationsResponse.Builder responses(ImageScanFindingAggregation... responses) An array of image scan finding aggregations that match the filter criteria.
- Parameters:
responses
- An array of image scan finding aggregations that match the filter criteria.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
ListImageScanFindingAggregationsResponse.Builder responses(Consumer<ImageScanFindingAggregation.Builder>... responses) An array of image scan finding aggregations that match the filter criteria.
This is a convenience method that creates an instance of theImageScanFindingAggregation.Builder
avoiding the need to create one manually viaImageScanFindingAggregation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresponses(List<ImageScanFindingAggregation>)
.- Parameters:
responses
- a consumer that will call methods onImageScanFindingAggregation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.
- Parameters:
nextToken
- The next token used for paginated responses. When this field isn't empty, there are additional elements that the service hasn't included in this request. Use this token with the next request to retrieve additional objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-