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

package com.azure.resourcemanager.desktopvirtualization.models;

import com.azure.core.annotation.Fluent;

/** The ResourceModelWithAllowedPropertySetSku model. */
@Fluent
public final class ResourceModelWithAllowedPropertySetSku extends Sku {
    /** Creates an instance of ResourceModelWithAllowedPropertySetSku class. */
    public ResourceModelWithAllowedPropertySetSku() {
    }

    /** {@inheritDoc} */
    @Override
    public ResourceModelWithAllowedPropertySetSku withName(String name) {
        super.withName(name);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceModelWithAllowedPropertySetSku withTier(SkuTier tier) {
        super.withTier(tier);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceModelWithAllowedPropertySetSku withSize(String size) {
        super.withSize(size);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceModelWithAllowedPropertySetSku withFamily(String family) {
        super.withFamily(family);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public ResourceModelWithAllowedPropertySetSku withCapacity(Integer capacity) {
        super.withCapacity(capacity);
        return this;
    }

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