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

com.azure.resourcemanager.timeseriesinsights.models.EnvironmentUpdateParameters Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for TimeSeriesInsights Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Time Series Insights client. Package tag package-2020-05-15.

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

package com.azure.resourcemanager.timeseriesinsights.models;

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

/** Parameters supplied to the Update Environment operation. */
@JsonTypeInfo(
    use = JsonTypeInfo.Id.NAME,
    include = JsonTypeInfo.As.PROPERTY,
    property = "kind",
    defaultImpl = EnvironmentUpdateParameters.class)
@JsonTypeName("EnvironmentUpdateParameters")
@JsonSubTypes({
    @JsonSubTypes.Type(name = "Gen1", value = Gen1EnvironmentUpdateParameters.class),
    @JsonSubTypes.Type(name = "Gen2", value = Gen2EnvironmentUpdateParameters.class)
})
@Fluent
public class EnvironmentUpdateParameters {
    /*
     * Key-value pairs of additional properties for the environment.
     */
    @JsonProperty(value = "tags")
    @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
    private Map tags;

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

    /**
     * Get the tags property: Key-value pairs of additional properties for the environment.
     *
     * @return the tags value.
     */
    public Map tags() {
        return this.tags;
    }

    /**
     * Set the tags property: Key-value pairs of additional properties for the environment.
     *
     * @param tags the tags value to set.
     * @return the EnvironmentUpdateParameters object itself.
     */
    public EnvironmentUpdateParameters 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