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

package com.azure.resourcemanager.iotfirmwaredefense.models;

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

/** Properties for generating an upload URL. */
@Fluent
public final class GenerateUploadUrlRequest {
    /*
     * A unique ID for the firmware to be uploaded.
     */
    @JsonProperty(value = "firmwareId")
    private String firmwareId;

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

    /**
     * Get the firmwareId property: A unique ID for the firmware to be uploaded.
     *
     * @return the firmwareId value.
     */
    public String firmwareId() {
        return this.firmwareId;
    }

    /**
     * Set the firmwareId property: A unique ID for the firmware to be uploaded.
     *
     * @param firmwareId the firmwareId value to set.
     * @return the GenerateUploadUrlRequest object itself.
     */
    public GenerateUploadUrlRequest withFirmwareId(String firmwareId) {
        this.firmwareId = firmwareId;
        return this;
    }

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