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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AccountAggregation.BuilderaccountId(String accountId)Identifies the account that owns the aggregated resource findings.default AccountAggregation.BuilderseverityCounts(Consumer<SeverityCounts.Builder> severityCounts)Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.AccountAggregation.BuilderseverityCounts(SeverityCounts severityCounts)Counts by severity level for medium severity and higher level findings, plus a total for all of the findings.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 theSeverityCounts.Builderavoiding the need to create one manually viaSeverityCounts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toseverityCounts(SeverityCounts).- Parameters:
severityCounts- a consumer that will call methods onSeverityCounts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
severityCounts(SeverityCounts)
-
-