KeyVaultParameterReference Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. KeyVaultParameterReference
- com.
Implements
public final class KeyVaultParameterReference
implements JsonSerializable<KeyVaultParameterReference>
Azure Key Vault parameter reference.
Constructor Summary
Constructor | Description |
---|---|
KeyVaultParameterReference() |
Creates an instance of Key |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromJson(JsonReader jsonReader)
Reads an instance of Key |
Key |
keyVault()
Get the key |
String |
secretName()
Get the secret |
String |
secretVersion()
Get the secret |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Key |
withKeyVault(KeyVaultReference keyVault)
Set the key |
Key |
withSecretName(String secretName)
Set the secret |
Key |
withSecretVersion(String secretVersion)
Set the secret |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultParameterReference
public KeyVaultParameterReference()
Creates an instance of KeyVaultParameterReference class.
Method Details
fromJson
public static KeyVaultParameterReference fromJson(JsonReader jsonReader)
Reads an instance of KeyVaultParameterReference from the JsonReader.
Parameters:
Returns:
Throws:
keyVault
public KeyVaultReference keyVault()
Get the keyVault property: Azure Key Vault reference.
Returns:
secretName
public String secretName()
Get the secretName property: Azure Key Vault secret name.
Returns:
secretVersion
public String secretVersion()
Get the secretVersion property: Azure Key Vault secret version.
Returns:
toJson
validate
public void validate()
Validates the instance.
withKeyVault
public KeyVaultParameterReference withKeyVault(KeyVaultReference keyVault)
Set the keyVault property: Azure Key Vault reference.
Parameters:
Returns:
withSecretName
public KeyVaultParameterReference withSecretName(String secretName)
Set the secretName property: Azure Key Vault secret name.
Parameters:
Returns:
withSecretVersion
public KeyVaultParameterReference withSecretVersion(String secretVersion)
Set the secretVersion property: Azure Key Vault secret version.
Parameters:
Returns:
Applies to
Azure SDK for Java