public final class KeyVaultKeyReference extends Object
Constructor and Description |
---|
KeyVaultKeyReference() |
Modifier and Type | Method and Description |
---|---|
String |
keyName()
Get the keyName property: The private key name in key vault.
|
KeyVaultKeyReferenceKeyVault |
keyVault()
Get the keyVault property: The key vault reference.
|
String |
keyVersion()
Get the keyVersion property: The private key version in key vault.
|
void |
validate()
Validates the instance.
|
KeyVaultKeyReference |
withKeyName(String keyName)
Set the keyName property: The private key name in key vault.
|
KeyVaultKeyReference |
withKeyVault(KeyVaultKeyReferenceKeyVault keyVault)
Set the keyVault property: The key vault reference.
|
KeyVaultKeyReference |
withKeyVersion(String keyVersion)
Set the keyVersion property: The private key version in key vault.
|
public KeyVaultKeyReferenceKeyVault keyVault()
public KeyVaultKeyReference withKeyVault(KeyVaultKeyReferenceKeyVault keyVault)
keyVault
- the keyVault value to set.public String keyName()
public KeyVaultKeyReference withKeyName(String keyName)
keyName
- the keyName value to set.public String keyVersion()
public KeyVaultKeyReference withKeyVersion(String keyVersion)
keyVersion
- the keyVersion value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.