Class ShortDescription

java.lang.Object
com.azure.resourcemanager.advisor.models.ShortDescription

public final class ShortDescription extends Object
A summary of the recommendation.
  • Constructor Details

    • ShortDescription

      public ShortDescription()
      Creates an instance of ShortDescription class.
  • Method Details

    • problem

      public String problem()
      Get the problem property: The issue or opportunity identified by the recommendation and proposed solution.
      Returns:
      the problem value.
    • withProblem

      public ShortDescription withProblem(String problem)
      Set the problem property: The issue or opportunity identified by the recommendation and proposed solution.
      Parameters:
      problem - the problem value to set.
      Returns:
      the ShortDescription object itself.
    • solution

      public String solution()
      Get the solution property: The issue or opportunity identified by the recommendation and proposed solution.
      Returns:
      the solution value.
    • withSolution

      public ShortDescription withSolution(String solution)
      Set the solution property: The issue or opportunity identified by the recommendation and proposed solution.
      Parameters:
      solution - the solution value to set.
      Returns:
      the ShortDescription object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.