// 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;

/** The metadata supported value detail. */
@Fluent
public final class MetadataSupportedValueDetail {
    /*
     * The id.
     */
    @JsonProperty(value = "id")
    private String id;

    /*
     * The display name.
     */
    @JsonProperty(value = "displayName")
    private String displayName;

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

    /**
     * Get the id property: The id.
     *
     * @return the id value.
     */
    public String id() {
        return this.id;
    }

    /**
     * Set the id property: The id.
     *
     * @param id the id value to set.
     * @return the MetadataSupportedValueDetail object itself.
     */
    public MetadataSupportedValueDetail withId(String id) {
        this.id = id;
        return this;
    }

    /**
     * Get the displayName property: The display name.
     *
     * @return the displayName value.
     */
    public String displayName() {
        return this.displayName;
    }

    /**
     * Set the displayName property: The display name.
     *
     * @param displayName the displayName value to set.
     * @return the MetadataSupportedValueDetail object itself.
     */
    public MetadataSupportedValueDetail withDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

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