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

package com.azure.resourcemanager.storagecache.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Resource SKU location information. */
@Fluent
public final class ResourceSkuLocationInfo {
    /*
     * Location where this SKU is available.
     */
    @JsonProperty(value = "location")
    private String location;

    /*
     * Zones if any.
     */
    @JsonProperty(value = "zones")
    private List<String> zones;

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

    /**
     * Get the location property: Location where this SKU is available.
     *
     * @return the location value.
     */
    public String location() {
        return this.location;
    }

    /**
     * Set the location property: Location where this SKU is available.
     *
     * @param location the location value to set.
     * @return the ResourceSkuLocationInfo object itself.
     */
    public ResourceSkuLocationInfo withLocation(String location) {
        this.location = location;
        return this;
    }

    /**
     * Get the zones property: Zones if any.
     *
     * @return the zones value.
     */
    public List<String> zones() {
        return this.zones;
    }

    /**
     * Set the zones property: Zones if any.
     *
     * @param zones the zones value to set.
     * @return the ResourceSkuLocationInfo object itself.
     */
    public ResourceSkuLocationInfo withZones(List<String> zones) {
        this.zones = zones;
        return this;
    }

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