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

package com.azure.resourcemanager.hdinsight.models;

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

/** The quota properties for the cluster. */
@Fluent
public final class QuotaInfo {
    /*
     * The cores used by the cluster.
     */
    @JsonProperty(value = "coresUsed")
    private Integer coresUsed;

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

    /**
     * Get the coresUsed property: The cores used by the cluster.
     *
     * @return the coresUsed value.
     */
    public Integer coresUsed() {
        return this.coresUsed;
    }

    /**
     * Set the coresUsed property: The cores used by the cluster.
     *
     * @param coresUsed the coresUsed value to set.
     * @return the QuotaInfo object itself.
     */
    public QuotaInfo withCoresUsed(Integer coresUsed) {
        this.coresUsed = coresUsed;
        return this;
    }

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