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

package com.azure.resourcemanager.managednetworkfabric.models;

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

/** Managed Resource Group configuration properties. */
@Fluent
public final class ManagedResourceGroupConfiguration {
    /*
     * The NFC service will be hosted in a Managed resource group.
     */
    @JsonProperty(value = "name")
    private String name;

    /*
     * Managed resource group location.
     */
    @JsonProperty(value = "location")
    private String location;

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

    /**
     * Get the name property: The NFC service will be hosted in a Managed resource group.
     *
     * @return the name value.
     */
    public String name() {
        return this.name;
    }

    /**
     * Set the name property: The NFC service will be hosted in a Managed resource group.
     *
     * @param name the name value to set.
     * @return the ManagedResourceGroupConfiguration object itself.
     */
    public ManagedResourceGroupConfiguration withName(String name) {
        this.name = name;
        return this;
    }

    /**
     * Get the location property: Managed resource group location.
     *
     * @return the location value.
     */
    public String location() {
        return this.location;
    }

    /**
     * Set the location property: Managed resource group location.
     *
     * @param location the location value to set.
     * @return the ManagedResourceGroupConfiguration object itself.
     */
    public ManagedResourceGroupConfiguration withLocation(String location) {
        this.location = location;
        return this;
    }

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