Class ShortDescription
java.lang.Object
com.azure.resourcemanager.advisor.models.ShortDescription
A summary of the recommendation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionproblem()
Get the problem property: The issue or opportunity identified by the recommendation and proposed solution.solution()
Get the solution property: The issue or opportunity identified by the recommendation and proposed solution.void
validate()
Validates the instance.withProblem
(String problem) Set the problem property: The issue or opportunity identified by the recommendation and proposed solution.withSolution
(String solution) Set the solution property: The issue or opportunity identified by the recommendation and proposed solution.
-
Constructor Details
-
ShortDescription
public ShortDescription()Creates an instance of ShortDescription class.
-
-
Method Details
-
problem
Get the problem property: The issue or opportunity identified by the recommendation and proposed solution.- Returns:
- the problem value.
-
withProblem
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
Get the solution property: The issue or opportunity identified by the recommendation and proposed solution.- Returns:
- the solution value.
-
withSolution
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.
-