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

package com.azure.resourcemanager.security.models;

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

/** Describes an Azure resource with location. */
@Fluent
public class AzureTrackedResourceLocation {
    /*
     * Location where the resource is stored
     */
    @JsonProperty(value = "location")
    private String location;

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

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

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

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