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

package com.azure.resourcemanager.compute.models;

import com.azure.core.annotation.Fluent;

/** This is the OS disk image. */
@Fluent
public final class GalleryOSDiskImage extends GalleryDiskImage {
    /** Creates an instance of GalleryOSDiskImage class. */
    public GalleryOSDiskImage() {
    }

    /** {@inheritDoc} */
    @Override
    public GalleryOSDiskImage withHostCaching(HostCaching hostCaching) {
        super.withHostCaching(hostCaching);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public GalleryOSDiskImage withSource(GalleryDiskImageSource source) {
        super.withSource(source);
        return this;
    }

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