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

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

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

/** An object that represents a set of mutable auto scale v-core resource properties. */
@Fluent
public class AutoScaleVCoreMutableProperties {
    /*
     * The maximum capacity of an auto scale v-core resource.
     */
    @JsonProperty(value = "capacityLimit")
    private Integer capacityLimit;

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

    /**
     * Get the capacityLimit property: The maximum capacity of an auto scale v-core resource.
     *
     * @return the capacityLimit value.
     */
    public Integer capacityLimit() {
        return this.capacityLimit;
    }

    /**
     * Set the capacityLimit property: The maximum capacity of an auto scale v-core resource.
     *
     * @param capacityLimit the capacityLimit value to set.
     * @return the AutoScaleVCoreMutableProperties object itself.
     */
    public AutoScaleVCoreMutableProperties withCapacityLimit(Integer capacityLimit) {
        this.capacityLimit = capacityLimit;
        return this;
    }

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