Interface ImageAggregation.Builder

  • Method Details

    • imageBuildVersionArn

      ImageAggregation.Builder imageBuildVersionArn(String imageBuildVersionArn)

      The Amazon Resource Name (ARN) that identifies the image for this aggregation.

      Parameters:
      imageBuildVersionArn - The Amazon Resource Name (ARN) that identifies the image for this aggregation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      ImageAggregation.Builder severityCounts(SeverityCounts severityCounts)

      Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image.

      Parameters:
      severityCounts - Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      default ImageAggregation.Builder severityCounts(Consumer<SeverityCounts.Builder> severityCounts)

      Counts by severity level for medium severity and higher level findings, plus a total for all of the findings for the specified image.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to severityCounts(SeverityCounts).

      Parameters:
      severityCounts - a consumer that will call methods on SeverityCounts.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: