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

com.microsoft.azure.management.cognitiveservices.CognitiveServicesAccountUpdateParameters Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.cognitiveservices;

import com.microsoft.azure.management.cognitiveservices.implementation.SkuInner;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The parameters to provide for the account.
 */
public class CognitiveServicesAccountUpdateParameters {
    /**
     * Gets or sets the SKU of the resource.
     */
    @JsonProperty(value = "sku")
    private SkuInner sku;

    /**
     * Gets or sets a list of key value pairs that describe the resource. These
     * tags can be used in viewing and grouping this resource (across resource
     * groups). A maximum of 15 tags can be provided for a resource. Each tag
     * must have a key no greater than 128 characters and value no greater than
     * 256 characters.
     */
    @JsonProperty(value = "tags")
    private Map tags;

    /**
     * Get the sku value.
     *
     * @return the sku value
     */
    public SkuInner sku() {
        return this.sku;
    }

    /**
     * Set the sku value.
     *
     * @param sku the sku value to set
     * @return the CognitiveServicesAccountUpdateParameters object itself.
     */
    public CognitiveServicesAccountUpdateParameters withSku(SkuInner sku) {
        this.sku = sku;
        return this;
    }

    /**
     * Get the tags value.
     *
     * @return the tags value
     */
    public Map tags() {
        return this.tags;
    }

    /**
     * Set the tags value.
     *
     * @param tags the tags value to set
     * @return the CognitiveServicesAccountUpdateParameters object itself.
     */
    public CognitiveServicesAccountUpdateParameters withTags(Map tags) {
        this.tags = tags;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy