public final class KeyVaultSecretReference extends Object
Constructor and Description |
---|
KeyVaultSecretReference() |
Modifier and Type | Method and Description |
---|---|
String |
secretUrl()
Get the secretUrl property: The URL referencing a secret in a Key Vault.
|
com.azure.core.management.SubResource |
sourceVault()
Get the sourceVault property: The relative URL of the Key Vault containing the secret.
|
void |
validate()
Validates the instance.
|
KeyVaultSecretReference |
withSecretUrl(String secretUrl)
Set the secretUrl property: The URL referencing a secret in a Key Vault.
|
KeyVaultSecretReference |
withSourceVault(com.azure.core.management.SubResource sourceVault)
Set the sourceVault property: The relative URL of the Key Vault containing the secret.
|
public String secretUrl()
public KeyVaultSecretReference withSecretUrl(String secretUrl)
secretUrl
- the secretUrl value to set.public com.azure.core.management.SubResource sourceVault()
public KeyVaultSecretReference withSourceVault(com.azure.core.management.SubResource sourceVault)
sourceVault
- the sourceVault value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.