Interface ResiliencyScore.Builder

    • Method Detail

      • componentScoreWithStrings

        ResiliencyScore.Builder componentScoreWithStrings​(Map<String,​ScoringComponentResiliencyScore> componentScore)

        The score generated by Resilience Hub for the scoring component after running an assessment.

        For example, if the score is 25 points, it indicates the overall score of your application generated by Resilience Hub after running an assessment.

        Parameters:
        componentScore - The score generated by Resilience Hub for the scoring component after running an assessment.

        For example, if the score is 25 points, it indicates the overall score of your application generated by Resilience Hub after running an assessment.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • componentScore

        ResiliencyScore.Builder componentScore​(Map<ResiliencyScoreType,​ScoringComponentResiliencyScore> componentScore)

        The score generated by Resilience Hub for the scoring component after running an assessment.

        For example, if the score is 25 points, it indicates the overall score of your application generated by Resilience Hub after running an assessment.

        Parameters:
        componentScore - The score generated by Resilience Hub for the scoring component after running an assessment.

        For example, if the score is 25 points, it indicates the overall score of your application generated by Resilience Hub after running an assessment.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disruptionScoreWithStrings

        ResiliencyScore.Builder disruptionScoreWithStrings​(Map<String,​Double> disruptionScore)

        The disruption score for a valid key.

        Parameters:
        disruptionScore - The disruption score for a valid key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disruptionScore

        ResiliencyScore.Builder disruptionScore​(Map<DisruptionType,​Double> disruptionScore)

        The disruption score for a valid key.

        Parameters:
        disruptionScore - The disruption score for a valid key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • score

        ResiliencyScore.Builder score​(Double score)

        The outage score for a valid key.

        Parameters:
        score - The outage score for a valid key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.