public final class KeyVaultAndKeyReference extends Object
Constructor and Description |
---|
KeyVaultAndKeyReference() |
Modifier and Type | Method and Description |
---|---|
String |
keyUrl()
Get the keyUrl property: Url pointing to a key or secret in KeyVault.
|
SourceVault |
sourceVault()
Get the sourceVault property: Resource id of the KeyVault containing the key or secret.
|
void |
validate()
Validates the instance.
|
KeyVaultAndKeyReference |
withKeyUrl(String keyUrl)
Set the keyUrl property: Url pointing to a key or secret in KeyVault.
|
KeyVaultAndKeyReference |
withSourceVault(SourceVault sourceVault)
Set the sourceVault property: Resource id of the KeyVault containing the key or secret.
|
public SourceVault sourceVault()
public KeyVaultAndKeyReference withSourceVault(SourceVault sourceVault)
sourceVault
- the sourceVault value to set.public String keyUrl()
public KeyVaultAndKeyReference withKeyUrl(String keyUrl)
keyUrl
- the keyUrl value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.