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