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

package com.azure.resourcemanager.extendedlocation.models;

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

/** The Find Target Resource Group operation request. */
@Fluent
public final class CustomLocationFindTargetResourceGroupProperties {
    /*
     * Labels of the custom resource, this is a map of {key,value} pairs.
     */
    @JsonProperty(value = "labels")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map<String, String> labels;

    /**
     * Get the labels property: Labels of the custom resource, this is a map of {key,value} pairs.
     *
     * @return the labels value.
     */
    public Map<String, String> labels() {
        return this.labels;
    }

    /**
     * Set the labels property: Labels of the custom resource, this is a map of {key,value} pairs.
     *
     * @param labels the labels value to set.
     * @return the CustomLocationFindTargetResourceGroupProperties object itself.
     */
    public CustomLocationFindTargetResourceGroupProperties withLabels(Map<String, String> labels) {
        this.labels = labels;
        return this;
    }

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