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

package com.azure.resourcemanager.purview.models;

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

/** The Sku. */
@Fluent
public class AccountSkuAutoGenerated {
    /*
     * Gets or sets the sku capacity.
     */
    @JsonProperty(value = "capacity")
    private Integer capacity;

    /*
     * Gets or sets the sku name.
     */
    @JsonProperty(value = "name")
    private Name name;

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

    /**
     * Get the capacity property: Gets or sets the sku capacity.
     *
     * @return the capacity value.
     */
    public Integer capacity() {
        return this.capacity;
    }

    /**
     * Set the capacity property: Gets or sets the sku capacity.
     *
     * @param capacity the capacity value to set.
     * @return the AccountSkuAutoGenerated object itself.
     */
    public AccountSkuAutoGenerated withCapacity(Integer capacity) {
        this.capacity = capacity;
        return this;
    }

    /**
     * Get the name property: Gets or sets the sku name.
     *
     * @return the name value.
     */
    public Name name() {
        return this.name;
    }

    /**
     * Set the name property: Gets or sets the sku name.
     *
     * @param name the name value to set.
     * @return the AccountSkuAutoGenerated object itself.
     */
    public AccountSkuAutoGenerated withName(Name name) {
        this.name = name;
        return this;
    }

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