Class KeyVaultProperties
java.lang.Object
com.azure.resourcemanager.eventhubs.models.KeyVaultProperties
Properties to configure keyVault Properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionidentity()
Get the identity property: The identity property.keyName()
Get the keyName property: Name of the Key from KeyVault.Get the keyVaultUri property: Uri of KeyVault.Get the keyVersion property: Key Version.void
validate()
Validates the instance.withIdentity
(UserAssignedIdentityProperties identity) Set the identity property: The identity 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: Key Version.
-
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.
-
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.
-
keyVersion
Get the keyVersion property: Key Version.- Returns:
- the keyVersion value.
-
withKeyVersion
Set the keyVersion property: Key Version.- Parameters:
keyVersion
- the keyVersion value to set.- Returns:
- the KeyVaultProperties object itself.
-
identity
Get the identity property: The identity property.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity property.- Parameters:
identity
- the identity value to set.- Returns:
- the KeyVaultProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-