Class RegenerateKeyParameters
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.RegenerateKeyParameters
-
public final class RegenerateKeyParameters extends Object
Regenerate key parameters.
-
-
Constructor Summary
Constructors Constructor Description RegenerateKeyParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyName
keyName()
Get the keyName property: key name to generate (Key1|Key2).void
validate()
Validates the instance.RegenerateKeyParameters
withKeyName(KeyName keyName)
Set the keyName property: key name to generate (Key1|Key2).
-
-
-
Method Detail
-
keyName
public KeyName keyName()
Get the keyName property: key name to generate (Key1|Key2).- Returns:
- the keyName value.
-
withKeyName
public RegenerateKeyParameters withKeyName(KeyName keyName)
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.
-
-