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

package com.azure.resourcemanager.redisenterprise.models;

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

/**
 * Sku Detail
 *
 * <p>Information about Sku.
 */
@Fluent
public final class SkuDetail {
    /*
     * The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10, EnterpriseFlash_F300 etc.)
     */
    @JsonProperty(value = "name")
    private SkuName name;

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

    /**
     * Get the name property: The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10,
     * EnterpriseFlash_F300 etc.).
     *
     * @return the name value.
     */
    public SkuName name() {
        return this.name;
    }

    /**
     * Set the name property: The type of RedisEnterprise cluster to deploy. Possible values: (Enterprise_E10,
     * EnterpriseFlash_F300 etc.).
     *
     * @param name the name value to set.
     * @return the SkuDetail object itself.
     */
    public SkuDetail withName(SkuName name) {
        this.name = name;
        return this;
    }

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