Interface AccountFindingsMetric.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AccountFindingsMetric.Builder,AccountFindingsMetric>,SdkBuilder<AccountFindingsMetric.Builder,AccountFindingsMetric>,SdkPojo
- Enclosing class:
- AccountFindingsMetric
public static interface AccountFindingsMetric.Builder extends SdkPojo, CopyableBuilder<AccountFindingsMetric.Builder,AccountFindingsMetric>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AccountFindingsMetric.BuilderclosedFindings(Consumer<FindingMetricsValuePerSeverity.Builder> closedFindings)The number of closed findings of each severity in an account on the specified date.AccountFindingsMetric.BuilderclosedFindings(FindingMetricsValuePerSeverity closedFindings)The number of closed findings of each severity in an account on the specified date.AccountFindingsMetric.Builderdate(Instant date)The date from which the finding metrics were retrieved.default AccountFindingsMetric.BuildermeanTimeToClose(Consumer<FindingMetricsValuePerSeverity.Builder> meanTimeToClose)The average time it takes to close findings of each severity in days.AccountFindingsMetric.BuildermeanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)The average time it takes to close findings of each severity in days.default AccountFindingsMetric.BuildernewFindings(Consumer<FindingMetricsValuePerSeverity.Builder> newFindings)The number of new findings of each severity in account on the specified date.AccountFindingsMetric.BuildernewFindings(FindingMetricsValuePerSeverity newFindings)The number of new findings of each severity in account on the specified date.default AccountFindingsMetric.BuilderopenFindings(Consumer<FindingMetricsValuePerSeverity.Builder> openFindings)The number of open findings of each severity in an account as of the specified date.AccountFindingsMetric.BuilderopenFindings(FindingMetricsValuePerSeverity openFindings)The number of open findings of each severity in an account 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, sdkFields
-
-
-
-
Method Detail
-
closedFindings
AccountFindingsMetric.Builder closedFindings(FindingMetricsValuePerSeverity closedFindings)
The number of closed findings of each severity in an account on the specified date.
- Parameters:
closedFindings- The number of closed findings of each severity in an account 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 in an account on the specified date.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builderavoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder().When the
Consumercompletes,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:
closedFindings(FindingMetricsValuePerSeverity)
-
date
AccountFindingsMetric.Builder date(Instant date)
The date from which the finding metrics were retrieved.
- Parameters:
date- The date from which the finding metrics were retrieved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meanTimeToClose
AccountFindingsMetric.Builder meanTimeToClose(FindingMetricsValuePerSeverity meanTimeToClose)
The average time it takes to close findings of each severity in days.
- Parameters:
meanTimeToClose- The average time it takes to close findings of each severity in days.- 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 it takes to close findings of each severity in days.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builderavoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder().When the
Consumercompletes,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:
meanTimeToClose(FindingMetricsValuePerSeverity)
-
newFindings
AccountFindingsMetric.Builder newFindings(FindingMetricsValuePerSeverity newFindings)
The number of new findings of each severity in account on the specified date.
- Parameters:
newFindings- The number of new findings of each severity in account 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 in account on the specified date.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builderavoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder().When the
Consumercompletes,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:
newFindings(FindingMetricsValuePerSeverity)
-
openFindings
AccountFindingsMetric.Builder openFindings(FindingMetricsValuePerSeverity openFindings)
The number of open findings of each severity in an account as of the specified date.
- Parameters:
openFindings- The number of open findings of each severity in an account 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 in an account as of the specified date.
This is a convenience method that creates an instance of theFindingMetricsValuePerSeverity.Builderavoiding the need to create one manually viaFindingMetricsValuePerSeverity.builder().When the
Consumercompletes,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:
openFindings(FindingMetricsValuePerSeverity)
-
-