public final class KeyVaultSecretRef extends Object
| Constructor and Description |
|---|
KeyVaultSecretRef() |
| Modifier and Type | Method and Description |
|---|---|
String |
secretName()
Get the secretName property: The secret name.
|
void |
validate()
Validates the instance.
|
String |
vaultId()
Get the vaultId property: Key vault identifier.
|
String |
version()
Get the version property: The secret version.
|
KeyVaultSecretRef |
withSecretName(String secretName)
Set the secretName property: The secret name.
|
KeyVaultSecretRef |
withVaultId(String vaultId)
Set the vaultId property: Key vault identifier.
|
KeyVaultSecretRef |
withVersion(String version)
Set the version property: The secret version.
|
public String vaultId()
public KeyVaultSecretRef withVaultId(String vaultId)
vaultId - the vaultId value to set.public String secretName()
public KeyVaultSecretRef withSecretName(String secretName)
secretName - the secretName value to set.public String version()
public KeyVaultSecretRef withVersion(String version)
version - the version value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.