Interface AccountFindingsMetric.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AccountFindingsMetric.Builder,,- AccountFindingsMetric> - SdkBuilder<AccountFindingsMetric.Builder,,- AccountFindingsMetric> - SdkPojo
- Enclosing class:
- AccountFindingsMetric
- 
Method SummaryModifier and TypeMethodDescriptiondefault AccountFindingsMetric.BuilderclosedFindings(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.BuildermeanTimeToClose(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.BuildernewFindings(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.BuilderopenFindings(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
dateThe 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.
 
- 
newFindingsThe 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.
 
- 
newFindingsdefault 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.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 on- FindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
closedFindingsThe 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.
 
- 
closedFindingsdefault 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.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 on- FindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
openFindingsThe 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.
 
- 
openFindingsdefault 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.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 on- FindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
meanTimeToCloseThe 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.
 
- 
meanTimeToClosedefault 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.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 on- FindingMetricsValuePerSeverity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-