public static interface ConsolidatedReportMetric.Builder extends SdkPojo, CopyableBuilder<ConsolidatedReportMetric.Builder,ConsolidatedReportMetric>
| Modifier and Type | Method and Description |
|---|---|
ConsolidatedReportMetric.Builder |
lenses(Collection<LensMetric> lenses)
The metrics for the lenses in the workload.
|
ConsolidatedReportMetric.Builder |
lenses(Consumer<LensMetric.Builder>... lenses)
The metrics for the lenses in the workload.
|
ConsolidatedReportMetric.Builder |
lenses(LensMetric... lenses)
The metrics for the lenses in the workload.
|
ConsolidatedReportMetric.Builder |
lensesAppliedCount(Integer lensesAppliedCount)
The total number of lenses applied to the workload.
|
ConsolidatedReportMetric.Builder |
metricType(MetricType metricType)
The metric type of a metric in the consolidated report.
|
ConsolidatedReportMetric.Builder |
metricType(String metricType)
The metric type of a metric in the consolidated report.
|
ConsolidatedReportMetric.Builder |
riskCounts(Map<Risk,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
ConsolidatedReportMetric.Builder |
riskCountsWithStrings(Map<String,Integer> riskCounts)
Sets the value of the RiskCounts property for this object.
|
ConsolidatedReportMetric.Builder |
updatedAt(Instant updatedAt)
Sets the value of the UpdatedAt property for this object.
|
ConsolidatedReportMetric.Builder |
workloadArn(String workloadArn)
Sets the value of the WorkloadArn property for this object.
|
ConsolidatedReportMetric.Builder |
workloadId(String workloadId)
Sets the value of the WorkloadId property for this object.
|
ConsolidatedReportMetric.Builder |
workloadName(String workloadName)
Sets the value of the WorkloadName property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildConsolidatedReportMetric.Builder metricType(String metricType)
The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.
metricType - The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are
supported.MetricType,
MetricTypeConsolidatedReportMetric.Builder metricType(MetricType metricType)
The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.
metricType - The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are
supported.MetricType,
MetricTypeConsolidatedReportMetric.Builder riskCountsWithStrings(Map<String,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.ConsolidatedReportMetric.Builder riskCounts(Map<Risk,Integer> riskCounts)
riskCounts - The new value for the RiskCounts property for this object.ConsolidatedReportMetric.Builder workloadId(String workloadId)
workloadId - The new value for the WorkloadId property for this object.ConsolidatedReportMetric.Builder workloadName(String workloadName)
workloadName - The new value for the WorkloadName property for this object.ConsolidatedReportMetric.Builder workloadArn(String workloadArn)
workloadArn - The new value for the WorkloadArn property for this object.ConsolidatedReportMetric.Builder updatedAt(Instant updatedAt)
updatedAt - The new value for the UpdatedAt property for this object.ConsolidatedReportMetric.Builder lenses(Collection<LensMetric> lenses)
The metrics for the lenses in the workload.
lenses - The metrics for the lenses in the workload.ConsolidatedReportMetric.Builder lenses(LensMetric... lenses)
The metrics for the lenses in the workload.
lenses - The metrics for the lenses in the workload.ConsolidatedReportMetric.Builder lenses(Consumer<LensMetric.Builder>... lenses)
The metrics for the lenses in the workload.
This is a convenience method that creates an instance of theLensMetric.Builder avoiding the need to create
one manually via LensMetric.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #lenses(List.
lenses - a consumer that will call methods on
LensMetric.Builder#lenses(java.util.Collection) ConsolidatedReportMetric.Builder lensesAppliedCount(Integer lensesAppliedCount)
The total number of lenses applied to the workload.
lensesAppliedCount - The total number of lenses applied to the workload.Copyright © 2023. All rights reserved.