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

com.microsoft.azure.management.cognitiveservices.RegenerateKeyParameters 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.fasterxml.jackson.annotation.JsonProperty;

/**
 * Regenerate key parameters.
 */
public class RegenerateKeyParameters {
    /**
     * key name to generate (Key1|Key2). Possible values include: 'Key1',
     * 'Key2'.
     */
    @JsonProperty(value = "keyName", required = true)
    private KeyName keyName;

    /**
     * Get the keyName value.
     *
     * @return the keyName value
     */
    public KeyName keyName() {
        return this.keyName;
    }

    /**
     * Set the keyName value.
     *
     * @param keyName the keyName value to set
     * @return the RegenerateKeyParameters object itself.
     */
    public RegenerateKeyParameters withKeyName(KeyName keyName) {
        this.keyName = keyName;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy