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