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

com.microsoft.azure.management.cognitiveservices.CognitiveServicesResourceAndSku 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 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy