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

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

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.labservices.models.AutoShutdownProfile;
import com.azure.resourcemanager.labservices.models.ConnectionProfile;
import com.azure.resourcemanager.labservices.models.LabPlanNetworkProfile;
import com.azure.resourcemanager.labservices.models.ProvisioningState;
import com.azure.resourcemanager.labservices.models.SupportInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Lab plan resource properties. */
@Fluent
public final class LabPlanProperties extends LabPlanUpdateProperties {
    /*
     * Current provisioning state of the lab plan.
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private ProvisioningState provisioningState;

    /**
     * Get the provisioningState property: Current provisioning state of the lab plan.
     *
     * @return the provisioningState value.
     */
    public ProvisioningState provisioningState() {
        return this.provisioningState;
    }

    /** {@inheritDoc} */
    @Override
    public LabPlanProperties withDefaultConnectionProfile(ConnectionProfile defaultConnectionProfile) {
        super.withDefaultConnectionProfile(defaultConnectionProfile);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public LabPlanProperties withDefaultAutoShutdownProfile(AutoShutdownProfile defaultAutoShutdownProfile) {
        super.withDefaultAutoShutdownProfile(defaultAutoShutdownProfile);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public LabPlanProperties withDefaultNetworkProfile(LabPlanNetworkProfile defaultNetworkProfile) {
        super.withDefaultNetworkProfile(defaultNetworkProfile);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public LabPlanProperties withAllowedRegions(List<String> allowedRegions) {
        super.withAllowedRegions(allowedRegions);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public LabPlanProperties withSharedGalleryId(String sharedGalleryId) {
        super.withSharedGalleryId(sharedGalleryId);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public LabPlanProperties withSupportInfo(SupportInfo supportInfo) {
        super.withSupportInfo(supportInfo);
        return this;
    }

    /** {@inheritDoc} */
    @Override
    public LabPlanProperties withLinkedLmsInstance(String linkedLmsInstance) {
        super.withLinkedLmsInstance(linkedLmsInstance);
        return this;
    }

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