Interface ConfigRecommendation.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ConfigRecommendation.Builder,ConfigRecommendation>, SdkBuilder<ConfigRecommendation.Builder,ConfigRecommendation>, SdkPojo
Enclosing class:
ConfigRecommendation

public static interface ConfigRecommendation.Builder extends SdkPojo, CopyableBuilder<ConfigRecommendation.Builder,ConfigRecommendation>
  • Method Details

    • 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

      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

      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.
    • cost

      The cost for the application.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cost(Cost).

      Parameters:
      cost - a consumer that will call methods on Cost.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • haArchitecture

      ConfigRecommendation.Builder haArchitecture(String haArchitecture)

      The architecture type.

      Parameters:
      haArchitecture - The architecture type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • haArchitecture

      ConfigRecommendation.Builder haArchitecture(HaArchitecture haArchitecture)

      The architecture type.

      Parameters:
      haArchitecture - The architecture type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • optimizationType

      ConfigRecommendation.Builder optimizationType(String optimizationType)

      The type of optimization.

      Parameters:
      optimizationType - The type of optimization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • optimizationType

      The type of optimization.

      Parameters:
      optimizationType - The type of optimization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.