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

package com.azure.resourcemanager.managednetworkfabric.models;

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

/** Switch configuration entries require a description to discern between configuration groups. */
@Fluent
public class AnnotationResource {
    /*
     * Switch configuration description.
     */
    @JsonProperty(value = "annotation")
    private String annotation;

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

    /**
     * Get the annotation property: Switch configuration description.
     *
     * @return the annotation value.
     */
    public String annotation() {
        return this.annotation;
    }

    /**
     * Set the annotation property: Switch configuration description.
     *
     * @param annotation the annotation value to set.
     * @return the AnnotationResource object itself.
     */
    public AnnotationResource withAnnotation(String annotation) {
        this.annotation = annotation;
        return this;
    }

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