Interface PillarMetric.Builder

  • Method Details

    • pillarId

      PillarMetric.Builder pillarId(String pillarId)
      Sets the value of the PillarId property for this object.
      Parameters:
      pillarId - The new value for the PillarId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • riskCountsWithStrings

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

      PillarMetric.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.
    • questions

      The questions that have been identified as risks in the pillar.

      Parameters:
      questions - The questions that have been identified as risks in the pillar.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • questions

      PillarMetric.Builder questions(QuestionMetric... questions)

      The questions that have been identified as risks in the pillar.

      Parameters:
      questions - The questions that have been identified as risks in the pillar.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • questions

      The questions that have been identified as risks in the pillar.

      This is a convenience method that creates an instance of the QuestionMetric.Builder avoiding the need to create one manually via QuestionMetric.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to questions(List<QuestionMetric>).

      Parameters:
      questions - a consumer that will call methods on QuestionMetric.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: