Interface AccountFindingsMetric.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AccountFindingsMetric.Builder,
,AccountFindingsMetric> SdkBuilder<AccountFindingsMetric.Builder,
,AccountFindingsMetric> SdkPojo
- Enclosing class:
AccountFindingsMetric
-
Method Summary
Modifier and TypeMethodDescriptiondefault AccountFindingsMetric.Builder
closedFindings
(Consumer<FindingMetricsValuePerSeverity.Builder> closedFindings) The number of closed findings of each severity on the specified date.closedFindings
(FindingMetricsValuePerSeverity closedFindings) The number of closed findings of each severity on the specified date.The date from which the findings metrics were retrieved.default AccountFindingsMetric.Builder
meanTimeToClose
(Consumer<FindingMetricsValuePerSeverity.Builder> meanTimeToClose) The average time in days it takes to close findings of each severity as of a specified date.meanTimeToClose
(FindingMetricsValuePerSeverity meanTimeToClose) The average time in days it takes to close findings of each severity as of a specified date.default AccountFindingsMetric.Builder
newFindings
(Consumer<FindingMetricsValuePerSeverity.Builder> newFindings) The number of new findings of each severity on the specified date.newFindings
(FindingMetricsValuePerSeverity newFindings) The number of new findings of each severity on the specified date.default AccountFindingsMetric.Builder
openFindings
(Consumer<FindingMetricsValuePerSeverity.Builder> openFindings) The number of open findings of each severity as of the specified date.openFindings
(FindingMetricsValuePerSeverity openFindings) The number of open findings of each severity as of the specified date.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, sdkFieldNameToField, sdkFields
-
Method Details
-
closedFindings
The number of closed findings of each severity on the specified date.
- Parameters:
closedFindings
- The number of closed findings of each severity on the specified date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
closedFindings
default AccountFindingsMetric.Builder closedFindings(Consumer<FindingMetricsValuePerSeverity.Builder> closedFindings) The number of closed findings of each severity on the specified date.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builder
avoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toclosedFindings(FindingMetricsValuePerSeverity)
.- Parameters:
closedFindings
- a consumer that will call methods onFindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
date
The date from which the findings metrics were retrieved.
- Parameters:
date
- The date from which the findings metrics were retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meanTimeToClose
The average time in days it takes to close findings of each severity as of a specified date.
- Parameters:
meanTimeToClose
- The average time in days it takes to close findings of each severity as of a specified date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meanTimeToClose
default AccountFindingsMetric.Builder meanTimeToClose(Consumer<FindingMetricsValuePerSeverity.Builder> meanTimeToClose) The average time in days it takes to close findings of each severity as of a specified date.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builder
avoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomeanTimeToClose(FindingMetricsValuePerSeverity)
.- Parameters:
meanTimeToClose
- a consumer that will call methods onFindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
newFindings
The number of new findings of each severity on the specified date.
- Parameters:
newFindings
- The number of new findings of each severity on the specified date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newFindings
default AccountFindingsMetric.Builder newFindings(Consumer<FindingMetricsValuePerSeverity.Builder> newFindings) The number of new findings of each severity on the specified date.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builder
avoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonewFindings(FindingMetricsValuePerSeverity)
.- Parameters:
newFindings
- a consumer that will call methods onFindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
openFindings
The number of open findings of each severity as of the specified date.
- Parameters:
openFindings
- The number of open findings of each severity as of the specified date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openFindings
default AccountFindingsMetric.Builder openFindings(Consumer<FindingMetricsValuePerSeverity.Builder> openFindings) The number of open findings of each severity as of the specified date.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builder
avoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenFindings(FindingMetricsValuePerSeverity)
.- Parameters:
openFindings
- a consumer that will call methods onFindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-