KeyVaultKeyReference Class
- java.
lang. Object - com.
azure. resourcemanager. logic. models. KeyVaultKeyReference
- com.
public final class KeyVaultKeyReference
The reference to the key vault key.
Constructor Summary
Constructor | Description |
---|---|
KeyVaultKeyReference() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
keyName()
Get the key |
Key |
keyVault()
Get the key |
String |
keyVersion()
Get the key |
void |
validate()
Validates the instance. |
Key |
withKeyName(String keyName)
Set the key |
Key |
withKeyVault(KeyVaultKeyReferenceKeyVault keyVault)
Set the key |
Key |
withKeyVersion(String keyVersion)
Set the key |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultKeyReference
public KeyVaultKeyReference()
Creates an instance of KeyVaultKeyReference class.
Method Details
keyName
public String keyName()
Get the keyName property: The private key name in key vault.
Returns:
keyVault
public KeyVaultKeyReferenceKeyVault keyVault()
Get the keyVault property: The key vault reference.
Returns:
keyVersion
public String keyVersion()
Get the keyVersion property: The private key version in key vault.
Returns:
validate
public void validate()
Validates the instance.
withKeyName
public KeyVaultKeyReference withKeyName(String keyName)
Set the keyName property: The private key name in key vault.
Parameters:
Returns:
withKeyVault
public KeyVaultKeyReference withKeyVault(KeyVaultKeyReferenceKeyVault keyVault)
Set the keyVault property: The key vault reference.
Parameters:
Returns:
withKeyVersion
public KeyVaultKeyReference withKeyVersion(String keyVersion)
Set the keyVersion property: The private key version in key vault.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for