All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.elastic.models.ElasticMonitorResourceUpdateParameters Maven / Gradle / Ivy

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

package com.azure.resourcemanager.elastic.models;

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

/** Monitor resource update parameters. */
@Fluent
public final class ElasticMonitorResourceUpdateParameters {
    /*
     * elastic monitor resource tags.
     */
    @JsonProperty(value = "tags")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map tags;

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

    /**
     * Get the tags property: elastic monitor resource tags.
     *
     * @return the tags value.
     */
    public Map tags() {
        return this.tags;
    }

    /**
     * Set the tags property: elastic monitor resource tags.
     *
     * @param tags the tags value to set.
     * @return the ElasticMonitorResourceUpdateParameters object itself.
     */
    public ElasticMonitorResourceUpdateParameters withTags(Map tags) {
        this.tags = tags;
        return this;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy