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 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

      ListImageScanFindingAggregationsResponse.Builder aggregationType(String 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 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      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

      An array of image scan finding aggregations that match the filter criteria.

      This is a convenience method that creates an instance of the ImageScanFindingAggregation.Builder avoiding the need to create one manually via ImageScanFindingAggregation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to responses(List<ImageScanFindingAggregation>).

      Parameters:
      responses - a consumer that will call methods on ImageScanFindingAggregation.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 has'ot 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 has'ot 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.