Interface VulnerabilityIdAggregation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<VulnerabilityIdAggregation.Builder,VulnerabilityIdAggregation>, SdkBuilder<VulnerabilityIdAggregation.Builder,VulnerabilityIdAggregation>, SdkPojo
Enclosing class:
VulnerabilityIdAggregation

public static interface VulnerabilityIdAggregation.Builder extends SdkPojo, CopyableBuilder<VulnerabilityIdAggregation.Builder,VulnerabilityIdAggregation>
  • Method Details

    • vulnerabilityId

      VulnerabilityIdAggregation.Builder vulnerabilityId(String vulnerabilityId)

      The vulnerability Id for this set of counts.

      Parameters:
      vulnerabilityId - The vulnerability Id for this set of counts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      VulnerabilityIdAggregation.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 vulnerability.

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

      default VulnerabilityIdAggregation.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 vulnerability.

      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: