Class RegenerateKeyParameters
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.RegenerateKeyParameters
Regenerate key parameters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyName()
Get the keyName property: key name to generate (Key1|Key2).void
validate()
Validates the instance.withKeyName
(KeyName keyName) Set the keyName property: key name to generate (Key1|Key2).
-
Constructor Details
-
RegenerateKeyParameters
public RegenerateKeyParameters()
-
-
Method Details
-
keyName
Get the keyName property: key name to generate (Key1|Key2).- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: key name to generate (Key1|Key2).- Parameters:
keyName
- the keyName value to set.- Returns:
- the RegenerateKeyParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-