Class KeyVaultKeyReference
java.lang.Object
com.azure.resourcemanager.logic.models.KeyVaultKeyReference
The reference to the key vault key.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkeyName()
Get the keyName property: The private key name in key vault.keyVault()
Get the keyVault property: The key vault reference.Get the keyVersion property: The private key version in key vault.void
validate()
Validates the instance.withKeyName
(String keyName) Set the keyName property: The private key name in key vault.withKeyVault
(KeyVaultKeyReferenceKeyVault keyVault) Set the keyVault property: The key vault reference.withKeyVersion
(String keyVersion) Set the keyVersion property: The private key version in key vault.
-
Constructor Details
-
KeyVaultKeyReference
public KeyVaultKeyReference()Creates an instance of KeyVaultKeyReference class.
-
-
Method Details
-
keyVault
Get the keyVault property: The key vault reference.- Returns:
- the keyVault value.
-
withKeyVault
Set the keyVault property: The key vault reference.- Parameters:
keyVault
- the keyVault value to set.- Returns:
- the KeyVaultKeyReference object itself.
-
keyName
Get the keyName property: The private key name in key vault.- Returns:
- the keyName value.
-
withKeyName
Set the keyName property: The private key name in key vault.- Parameters:
keyName
- the keyName value to set.- Returns:
- the KeyVaultKeyReference object itself.
-
keyVersion
Get the keyVersion property: The private key version in key vault.- Returns:
- the keyVersion value.
-
withKeyVersion
Set the keyVersion property: The private key version in key vault.- Parameters:
keyVersion
- the keyVersion value to set.- Returns:
- the KeyVaultKeyReference object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-