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

package com.azure.resourcemanager.networkcloud.fluent.models;

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

/** StorageAppliancePatchProperties represents the properties of the storage appliance that can be patched. */
@Fluent
public final class StorageAppliancePatchProperties {
    /*
     * The serial number for the storage appliance.
     */
    @JsonProperty(value = "serialNumber")
    private String serialNumber;

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

    /**
     * Get the serialNumber property: The serial number for the storage appliance.
     *
     * @return the serialNumber value.
     */
    public String serialNumber() {
        return this.serialNumber;
    }

    /**
     * Set the serialNumber property: The serial number for the storage appliance.
     *
     * @param serialNumber the serialNumber value to set.
     * @return the StorageAppliancePatchProperties object itself.
     */
    public StorageAppliancePatchProperties withSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
        return this;
    }

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