com.microsoft.azure.management.cognitiveservices.CognitiveServicesAccountUpdateParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-cognitiveservices Show documentation
Show all versions of azure-mgmt-cognitiveservices Show documentation
This package contains Microsoft CognitiveServices Management SDK.
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;
}
}