Interface LensMetric.Builder

    • Method Detail

      • lensArn

        LensMetric.Builder lensArn​(String lensArn)

        The lens ARN.

        Parameters:
        lensArn - The lens ARN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • pillars

        LensMetric.Builder pillars​(Collection<PillarMetric> pillars)

        The metrics for the pillars in a lens.

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

        LensMetric.Builder pillars​(PillarMetric... pillars)

        The metrics for the pillars in a lens.

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

        LensMetric.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

        LensMetric.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.