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

package com.azure.resourcemanager.logic.models;

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

/** The sku. */
@Fluent
public final class IntegrationServiceEnvironmentSkuDefinitionSku {
    /*
     * The sku name.
     */
    @JsonProperty(value = "name")
    private IntegrationServiceEnvironmentSkuName name;

    /*
     * The sku tier.
     */
    @JsonProperty(value = "tier")
    private String tier;

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

    /**
     * Get the name property: The sku name.
     *
     * @return the name value.
     */
    public IntegrationServiceEnvironmentSkuName name() {
        return this.name;
    }

    /**
     * Set the name property: The sku name.
     *
     * @param name the name value to set.
     * @return the IntegrationServiceEnvironmentSkuDefinitionSku object itself.
     */
    public IntegrationServiceEnvironmentSkuDefinitionSku withName(IntegrationServiceEnvironmentSkuName name) {
        this.name = name;
        return this;
    }

    /**
     * Get the tier property: The sku tier.
     *
     * @return the tier value.
     */
    public String tier() {
        return this.tier;
    }

    /**
     * Set the tier property: The sku tier.
     *
     * @param tier the tier value to set.
     * @return the IntegrationServiceEnvironmentSkuDefinitionSku object itself.
     */
    public IntegrationServiceEnvironmentSkuDefinitionSku withTier(String tier) {
        this.tier = tier;
        return this;
    }

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