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

com.microsoft.azure.management.cognitiveservices.CheckSkuAvailabilityParameter 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 java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Check SKU availability parameter.
 */
public class CheckSkuAvailabilityParameter {
    /**
     * The SKU of the resource.
     */
    @JsonProperty(value = "skus", required = true)
    private List skus;

    /**
     * The Kind of the resource. Possible values include:
     * 'Bing.Autosuggest.v7', 'Bing.CustomSearch', 'Bing.Search.v7',
     * 'Bing.Speech', 'Bing.SpellCheck.v7', 'ComputerVision',
     * 'ContentModerator', 'CustomSpeech', 'CustomVision.Prediction',
     * 'CustomVision.Training', 'Emotion', 'Face', 'LUIS', 'QnAMaker',
     * 'SpeakerRecognition', 'SpeechTranslation', 'TextAnalytics',
     * 'TextTranslation', 'WebLM'.
     */
    @JsonProperty(value = "kind", required = true)
    private Kind kind;

    /**
     * The Type of the resource.
     */
    @JsonProperty(value = "type", required = true)
    private String type;

    /**
     * Get the skus value.
     *
     * @return the skus value
     */
    public List skus() {
        return this.skus;
    }

    /**
     * Set the skus value.
     *
     * @param skus the skus value to set
     * @return the CheckSkuAvailabilityParameter object itself.
     */
    public CheckSkuAvailabilityParameter withSkus(List skus) {
        this.skus = skus;
        return this;
    }

    /**
     * Get the kind value.
     *
     * @return the kind value
     */
    public Kind kind() {
        return this.kind;
    }

    /**
     * Set the kind value.
     *
     * @param kind the kind value to set
     * @return the CheckSkuAvailabilityParameter object itself.
     */
    public CheckSkuAvailabilityParameter withKind(Kind kind) {
        this.kind = kind;
        return this;
    }

    /**
     * Get the type value.
     *
     * @return the type value
     */
    public String type() {
        return this.type;
    }

    /**
     * Set the type value.
     *
     * @param type the type value to set
     * @return the CheckSkuAvailabilityParameter object itself.
     */
    public CheckSkuAvailabilityParameter withType(String type) {
        this.type = type;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy