com.microsoft.azure.management.cognitiveservices.CognitiveServicesResourceAndSku 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 com.fasterxml.jackson.annotation.JsonProperty;
/**
* Cognitive Services resource type and SKU.
*/
public class CognitiveServicesResourceAndSku {
/**
* Resource Namespace and Type.
*/
@JsonProperty(value = "resourceType")
private String resourceType;
/**
* The SKU of Cognitive Services account.
*/
@JsonProperty(value = "sku")
private SkuInner sku;
/**
* Get the resourceType value.
*
* @return the resourceType value
*/
public String resourceType() {
return this.resourceType;
}
/**
* Set the resourceType value.
*
* @param resourceType the resourceType value to set
* @return the CognitiveServicesResourceAndSku object itself.
*/
public CognitiveServicesResourceAndSku withResourceType(String resourceType) {
this.resourceType = resourceType;
return this;
}
/**
* 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 CognitiveServicesResourceAndSku object itself.
*/
public CognitiveServicesResourceAndSku withSku(SkuInner sku) {
this.sku = sku;
return this;
}
}