Interface AccountAggregation.Builder

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

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

    • accountId

      AccountAggregation.Builder accountId(String accountId)

      Identifies the account that owns the aggregated resource findings.

      Parameters:
      accountId - Identifies the account that owns the aggregated resource findings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • severityCounts

      AccountAggregation.Builder severityCounts(SeverityCounts severityCounts)

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

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

      default AccountAggregation.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.

      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: