Interface FindingStatistics.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FindingStatistics.Builder,
,FindingStatistics> SdkBuilder<FindingStatistics.Builder,
,FindingStatistics> SdkPojo
- Enclosing class:
FindingStatistics
-
Method Summary
Modifier and TypeMethodDescriptioncountBySeverity
(Map<String, Integer> countBySeverity) Deprecated.This parameter is deprecated.groupedByAccount
(Collection<AccountStatistics> groupedByAccount) Represents a list of map of accounts with a findings count associated with each account.groupedByAccount
(Consumer<AccountStatistics.Builder>... groupedByAccount) Represents a list of map of accounts with a findings count associated with each account.groupedByAccount
(AccountStatistics... groupedByAccount) Represents a list of map of accounts with a findings count associated with each account.groupedByDate
(Collection<DateStatistics> groupedByDate) Represents a list of map of dates with a count of total findings generated on each date per severity level.groupedByDate
(Consumer<DateStatistics.Builder>... groupedByDate) Represents a list of map of dates with a count of total findings generated on each date per severity level.groupedByDate
(DateStatistics... groupedByDate) Represents a list of map of dates with a count of total findings generated on each date per severity level.groupedByFindingType
(Collection<FindingTypeStatistics> groupedByFindingType) Represents a list of map of finding types with a count of total findings generated for each type.groupedByFindingType
(Consumer<FindingTypeStatistics.Builder>... groupedByFindingType) Represents a list of map of finding types with a count of total findings generated for each type.groupedByFindingType
(FindingTypeStatistics... groupedByFindingType) Represents a list of map of finding types with a count of total findings generated for each type.groupedByResource
(Collection<ResourceStatistics> groupedByResource) Represents a list of map of top resources with a count of total findings.groupedByResource
(Consumer<ResourceStatistics.Builder>... groupedByResource) Represents a list of map of top resources with a count of total findings.groupedByResource
(ResourceStatistics... groupedByResource) Represents a list of map of top resources with a count of total findings.groupedBySeverity
(Collection<SeverityStatistics> groupedBySeverity) Represents a list of map of total findings for each severity level.groupedBySeverity
(Consumer<SeverityStatistics.Builder>... groupedBySeverity) Represents a list of map of total findings for each severity level.groupedBySeverity
(SeverityStatistics... groupedBySeverity) Represents a list of map of total findings for each severity level.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 Details
-
countBySeverity
Deprecated.This parameter is deprecated. Please set GroupBy to 'SEVERITY' to return GroupedBySeverity instead.Represents a list of map of severity to count statistics for a set of findings.
- Parameters:
countBySeverity
- Represents a list of map of severity to count statistics for a set of findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByAccount
Represents a list of map of accounts with a findings count associated with each account.
- Parameters:
groupedByAccount
- Represents a list of map of accounts with a findings count associated with each account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByAccount
Represents a list of map of accounts with a findings count associated with each account.
- Parameters:
groupedByAccount
- Represents a list of map of accounts with a findings count associated with each account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByAccount
Represents a list of map of accounts with a findings count associated with each account.
This is a convenience method that creates an instance of theAccountStatistics.Builder
avoiding the need to create one manually viaAccountStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupedByAccount(List<AccountStatistics>)
.- Parameters:
groupedByAccount
- a consumer that will call methods onAccountStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupedByDate
Represents a list of map of dates with a count of total findings generated on each date per severity level.
- Parameters:
groupedByDate
- Represents a list of map of dates with a count of total findings generated on each date per severity level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByDate
Represents a list of map of dates with a count of total findings generated on each date per severity level.
- Parameters:
groupedByDate
- Represents a list of map of dates with a count of total findings generated on each date per severity level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByDate
Represents a list of map of dates with a count of total findings generated on each date per severity level.
This is a convenience method that creates an instance of theDateStatistics.Builder
avoiding the need to create one manually viaDateStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupedByDate(List<DateStatistics>)
.- Parameters:
groupedByDate
- a consumer that will call methods onDateStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupedByFindingType
FindingStatistics.Builder groupedByFindingType(Collection<FindingTypeStatistics> groupedByFindingType) Represents a list of map of finding types with a count of total findings generated for each type.
Based on the
orderBy
parameter, this request returns either the most occurring finding types or the least occurring finding types. If theorderBy
parameter isASC
, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value oforderBy
isDESC
.- Parameters:
groupedByFindingType
- Represents a list of map of finding types with a count of total findings generated for each type.Based on the
orderBy
parameter, this request returns either the most occurring finding types or the least occurring finding types. If theorderBy
parameter isASC
, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value oforderBy
isDESC
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByFindingType
Represents a list of map of finding types with a count of total findings generated for each type.
Based on the
orderBy
parameter, this request returns either the most occurring finding types or the least occurring finding types. If theorderBy
parameter isASC
, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value oforderBy
isDESC
.- Parameters:
groupedByFindingType
- Represents a list of map of finding types with a count of total findings generated for each type.Based on the
orderBy
parameter, this request returns either the most occurring finding types or the least occurring finding types. If theorderBy
parameter isASC
, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value oforderBy
isDESC
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByFindingType
FindingStatistics.Builder groupedByFindingType(Consumer<FindingTypeStatistics.Builder>... groupedByFindingType) Represents a list of map of finding types with a count of total findings generated for each type.
Based on the
This is a convenience method that creates an instance of theorderBy
parameter, this request returns either the most occurring finding types or the least occurring finding types. If theorderBy
parameter isASC
, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value oforderBy
isDESC
.FindingTypeStatistics.Builder
avoiding the need to create one manually viaFindingTypeStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupedByFindingType(List<FindingTypeStatistics>)
.- Parameters:
groupedByFindingType
- a consumer that will call methods onFindingTypeStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupedByResource
Represents a list of map of top resources with a count of total findings.
- Parameters:
groupedByResource
- Represents a list of map of top resources with a count of total findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByResource
Represents a list of map of top resources with a count of total findings.
- Parameters:
groupedByResource
- Represents a list of map of top resources with a count of total findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedByResource
FindingStatistics.Builder groupedByResource(Consumer<ResourceStatistics.Builder>... groupedByResource) Represents a list of map of top resources with a count of total findings.
This is a convenience method that creates an instance of theResourceStatistics.Builder
avoiding the need to create one manually viaResourceStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupedByResource(List<ResourceStatistics>)
.- Parameters:
groupedByResource
- a consumer that will call methods onResourceStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupedBySeverity
Represents a list of map of total findings for each severity level.
- Parameters:
groupedBySeverity
- Represents a list of map of total findings for each severity level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedBySeverity
Represents a list of map of total findings for each severity level.
- Parameters:
groupedBySeverity
- Represents a list of map of total findings for each severity level.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupedBySeverity
FindingStatistics.Builder groupedBySeverity(Consumer<SeverityStatistics.Builder>... groupedBySeverity) Represents a list of map of total findings for each severity level.
This is a convenience method that creates an instance of theSeverityStatistics.Builder
avoiding the need to create one manually viaSeverityStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupedBySeverity(List<SeverityStatistics>)
.- Parameters:
groupedBySeverity
- a consumer that will call methods onSeverityStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-