Class KeyVaultProperties
- java.lang.Object
-
- com.azure.resourcemanager.cognitiveservices.models.KeyVaultProperties
-
public final class KeyVaultProperties extends Object
Properties to configure keyVault Properties.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
identityClientId()
Get the identityClientId property: The identityClientId property.String
keyName()
Get the keyName property: Name of the Key from KeyVault.String
keyVaultUri()
Get the keyVaultUri property: Uri of KeyVault.String
keyVersion()
Get the keyVersion property: Version of the Key from KeyVault.void
validate()
Validates the instance.KeyVaultProperties
withIdentityClientId(String identityClientId)
Set the identityClientId property: The identityClientId property.KeyVaultProperties
withKeyName(String keyName)
Set the keyName property: Name of the Key from KeyVault.KeyVaultProperties
withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: Uri of KeyVault.KeyVaultProperties
withKeyVersion(String keyVersion)
Set the keyVersion property: Version of the Key from KeyVault.
-
-
-
Method Detail
-
keyName
public String keyName()
Get the keyName property: Name of the Key from KeyVault.- Returns:
- the keyName value.
-
withKeyName
public KeyVaultProperties withKeyName(String keyName)
Set the keyName property: Name of the Key from KeyVault.- Parameters:
keyName
- the keyName value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVersion
public String keyVersion()
Get the keyVersion property: Version of the Key from KeyVault.- Returns:
- the keyVersion value.
-
withKeyVersion
public KeyVaultProperties withKeyVersion(String keyVersion)
Set the keyVersion property: Version of the Key from KeyVault.- Parameters:
keyVersion
- the keyVersion value to set.- Returns:
- the KeyVaultProperties object itself.
-
keyVaultUri
public String keyVaultUri()
Get the keyVaultUri property: Uri of KeyVault.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
public KeyVaultProperties withKeyVaultUri(String keyVaultUri)
Set the keyVaultUri property: Uri of KeyVault.- Parameters:
keyVaultUri
- the keyVaultUri value to set.- Returns:
- the KeyVaultProperties object itself.
-
identityClientId
public String identityClientId()
Get the identityClientId property: The identityClientId property.- Returns:
- the identityClientId value.
-
withIdentityClientId
public KeyVaultProperties withIdentityClientId(String identityClientId)
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.
-
-