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

package com.azure.resourcemanager.support.models;

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

/** Additional information for technical support ticket. */
@Fluent
public final class TechnicalTicketDetails {
    /*
     * This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight
     * resource) for which the support ticket is created.
     */
    @JsonProperty(value = "resourceId")
    private String resourceId;

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

    /**
     * Get the resourceId property: This is the resource Id of the Azure service resource (For example: A virtual
     * machine resource or an HDInsight resource) for which the support ticket is created.
     *
     * @return the resourceId value.
     */
    public String resourceId() {
        return this.resourceId;
    }

    /**
     * Set the resourceId property: This is the resource Id of the Azure service resource (For example: A virtual
     * machine resource or an HDInsight resource) for which the support ticket is created.
     *
     * @param resourceId the resourceId value to set.
     * @return the TechnicalTicketDetails object itself.
     */
    public TechnicalTicketDetails withResourceId(String resourceId) {
        this.resourceId = resourceId;
        return this;
    }

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