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

package com.azure.resourcemanager.azureadexternalidentities.models;

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

/**
 * SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at
 * [aka.ms/b2cBilling](https://aka.ms/b2cBilling).
 */
@Fluent
public final class B2CResourceSku {
    /*
     * The name of the SKU for the tenant.
     */
    @JsonProperty(value = "name")
    private B2CResourceSkuName name;

    /*
     * The tier of the tenant.
     */
    @JsonProperty(value = "tier")
    private B2CResourceSkuTier tier;

    /**
     * Get the name property: The name of the SKU for the tenant.
     *
     * @return the name value.
     */
    public B2CResourceSkuName name() {
        return this.name;
    }

    /**
     * Set the name property: The name of the SKU for the tenant.
     *
     * @param name the name value to set.
     * @return the B2CResourceSku object itself.
     */
    public B2CResourceSku withName(B2CResourceSkuName name) {
        this.name = name;
        return this;
    }

    /**
     * Get the tier property: The tier of the tenant.
     *
     * @return the tier value.
     */
    public B2CResourceSkuTier tier() {
        return this.tier;
    }

    /**
     * Set the tier property: The tier of the tenant.
     *
     * @param tier the tier value to set.
     * @return the B2CResourceSku object itself.
     */
    public B2CResourceSku withTier(B2CResourceSkuTier tier) {
        this.tier = tier;
        return this;
    }

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