// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.advisor.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** A summary of the recommendation. */
@Fluent
public final class ShortDescription {
    /*
     * The issue or opportunity identified by the recommendation and proposed solution.
     */
    @JsonProperty(value = "problem")
    private String problem;

    /*
     * The issue or opportunity identified by the recommendation and proposed solution.
     */
    @JsonProperty(value = "solution")
    private String solution;

    /** Creates an instance of ShortDescription class. */
    public ShortDescription() {
    }

    /**
     * Get the problem property: The issue or opportunity identified by the recommendation and proposed solution.
     *
     * @return the problem value.
     */
    public String problem() {
        return this.problem;
    }

    /**
     * Set the problem property: The issue or opportunity identified by the recommendation and proposed solution.
     *
     * @param problem the problem value to set.
     * @return the ShortDescription object itself.
     */
    public ShortDescription withProblem(String problem) {
        this.problem = problem;
        return this;
    }

    /**
     * Get the solution property: The issue or opportunity identified by the recommendation and proposed solution.
     *
     * @return the solution value.
     */
    public String solution() {
        return this.solution;
    }

    /**
     * Set the solution property: The issue or opportunity identified by the recommendation and proposed solution.
     *
     * @param solution the solution value to set.
     * @return the ShortDescription object itself.
     */
    public ShortDescription withSolution(String solution) {
        this.solution = solution;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
