Class KeyVaultProperties
java.lang.Object
com.azure.resourcemanager.cognitiveservices.models.KeyVaultProperties
Properties to configure keyVault Properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the identityClientId property: The identityClientId property.keyName()
Get the keyName property: Name of the Key from KeyVault.Get the keyVaultUri property: Uri of KeyVault.Get the keyVersion property: Version of the Key from KeyVault.void
validate()
Validates the instance.withIdentityClientId
(String identityClientId) Set the identityClientId property: The identityClientId property.withKeyName
(String keyName) Set the keyName property: Name of the Key from KeyVault.withKeyVaultUri
(String keyVaultUri) Set the keyVaultUri property: Uri of KeyVault.withKeyVersion
(String keyVersion) Set the keyVersion property: Version of the Key from KeyVault.
-
Constructor Details
-
KeyVaultProperties
public KeyVaultProperties()
-
-
Method Details
-
keyName
Get the keyName property: Name of the Key from KeyVault.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: Name of the Key from KeyVault.- Parameters:
keyName
- the keyName value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVersion
Get the keyVersion property: Version of the Key from KeyVault.- Returns:
- the keyVersion value.
-
withKeyVersion
Set the keyVersion property: Version of the Key from KeyVault.- Parameters:
keyVersion
- the keyVersion value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVaultUri
Get the keyVaultUri property: Uri of KeyVault.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
Set the keyVaultUri property: Uri of KeyVault.- Parameters:
keyVaultUri
- the keyVaultUri value to set.- Returns:
- the KeyVaultProperties object itself.
-
identityClientId
Get the identityClientId property: The identityClientId property.- Returns:
- the identityClientId value.
-
withIdentityClientId
Set the identityClientId property: The identityClientId property.- Parameters:
identityClientId
- the identityClientId value to set.- Returns:
- the KeyVaultProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-