Interface ConfigRecommendation.Builder

    • Method Detail

      • appComponentName

        ConfigRecommendation.Builder appComponentName​(String appComponentName)

        Name of the Application Component.

        Parameters:
        appComponentName - Name of the Application Component.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • complianceWithStrings

        ConfigRecommendation.Builder complianceWithStrings​(Map<String,​DisruptionCompliance> compliance)

        The current compliance against the resiliency policy before applying the configuration change.

        Parameters:
        compliance - The current compliance against the resiliency policy before applying the configuration change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • compliance

        ConfigRecommendation.Builder compliance​(Map<DisruptionType,​DisruptionCompliance> compliance)

        The current compliance against the resiliency policy before applying the configuration change.

        Parameters:
        compliance - The current compliance against the resiliency policy before applying the configuration change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • cost

        ConfigRecommendation.Builder cost​(Cost cost)

        The cost for the application.

        Parameters:
        cost - The cost for the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ConfigRecommendation.Builder description​(String description)

        The optional description for an app.

        Parameters:
        description - The optional description for an app.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        ConfigRecommendation.Builder name​(String name)

        The name of the recommendation configuration.

        Parameters:
        name - The name of the recommendation configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendationComplianceWithStrings

        ConfigRecommendation.Builder recommendationComplianceWithStrings​(Map<String,​RecommendationDisruptionCompliance> recommendationCompliance)

        The expected compliance against the resiliency policy after applying the configuration change.

        Parameters:
        recommendationCompliance - The expected compliance against the resiliency policy after applying the configuration change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommendationCompliance

        ConfigRecommendation.Builder recommendationCompliance​(Map<DisruptionType,​RecommendationDisruptionCompliance> recommendationCompliance)

        The expected compliance against the resiliency policy after applying the configuration change.

        Parameters:
        recommendationCompliance - The expected compliance against the resiliency policy after applying the configuration change.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • referenceId

        ConfigRecommendation.Builder referenceId​(String referenceId)

        Reference identifier for the recommendation configuration.

        Parameters:
        referenceId - Reference identifier for the recommendation configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • suggestedChanges

        ConfigRecommendation.Builder suggestedChanges​(Collection<String> suggestedChanges)

        List of the suggested configuration changes.

        Parameters:
        suggestedChanges - List of the suggested configuration changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • suggestedChanges

        ConfigRecommendation.Builder suggestedChanges​(String... suggestedChanges)

        List of the suggested configuration changes.

        Parameters:
        suggestedChanges - List of the suggested configuration changes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.