Interface ConsolidatedReportMetric.Builder

    • Method Detail

      • metricType

        ConsolidatedReportMetric.Builder metricType​(String metricType)

        The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.

        Parameters:
        metricType - The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricType, MetricType
      • metricType

        ConsolidatedReportMetric.Builder metricType​(MetricType metricType)

        The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.

        Parameters:
        metricType - The metric type of a metric in the consolidated report. Currently only WORKLOAD metric types are supported.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        MetricType, MetricType
      • riskCountsWithStrings

        ConsolidatedReportMetric.Builder riskCountsWithStrings​(Map<String,​Integer> riskCounts)
        Sets the value of the RiskCounts property for this object.
        Parameters:
        riskCounts - The new value for the RiskCounts property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • riskCounts

        ConsolidatedReportMetric.Builder riskCounts​(Map<Risk,​Integer> riskCounts)
        Sets the value of the RiskCounts property for this object.
        Parameters:
        riskCounts - The new value for the RiskCounts property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workloadId

        ConsolidatedReportMetric.Builder workloadId​(String workloadId)
        Sets the value of the WorkloadId property for this object.
        Parameters:
        workloadId - The new value for the WorkloadId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workloadName

        ConsolidatedReportMetric.Builder workloadName​(String workloadName)
        Sets the value of the WorkloadName property for this object.
        Parameters:
        workloadName - The new value for the WorkloadName property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workloadArn

        ConsolidatedReportMetric.Builder workloadArn​(String workloadArn)
        Sets the value of the WorkloadArn property for this object.
        Parameters:
        workloadArn - The new value for the WorkloadArn property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        ConsolidatedReportMetric.Builder updatedAt​(Instant updatedAt)
        Sets the value of the UpdatedAt property for this object.
        Parameters:
        updatedAt - The new value for the UpdatedAt property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lenses

        ConsolidatedReportMetric.Builder lenses​(Collection<LensMetric> lenses)

        The metrics for the lenses in the workload.

        Parameters:
        lenses - The metrics for the lenses in the workload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lenses

        ConsolidatedReportMetric.Builder lenses​(LensMetric... lenses)

        The metrics for the lenses in the workload.

        Parameters:
        lenses - The metrics for the lenses in the workload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lensesAppliedCount

        ConsolidatedReportMetric.Builder lensesAppliedCount​(Integer lensesAppliedCount)

        The total number of lenses applied to the workload.

        Parameters:
        lensesAppliedCount - The total number of lenses applied to the workload.
        Returns:
        Returns a reference to this object so that method calls can be chained together.