Class KeyVaultSecretUriSecretInfo
- java.lang.Object
-
- com.azure.resourcemanager.servicelinker.models.SecretInfoBase
-
- com.azure.resourcemanager.servicelinker.models.KeyVaultSecretUriSecretInfo
-
public final class KeyVaultSecretUriSecretInfo extends SecretInfoBase
The secret info when type is keyVaultSecretUri. It's for scenario that user provides a secret stored in user's keyvault and source is Web App, Spring Cloud or Container App.
-
-
Constructor Summary
Constructors Constructor Description KeyVaultSecretUriSecretInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.String
value()
Get the value property: URI to the keyvault secret.KeyVaultSecretUriSecretInfo
withValue(String value)
Set the value property: URI to the keyvault secret.
-
-
-
Method Detail
-
value
public String value()
Get the value property: URI to the keyvault secret.- Returns:
- the value value.
-
withValue
public KeyVaultSecretUriSecretInfo withValue(String value)
Set the value property: URI to the keyvault secret.- Parameters:
value
- the value value to set.- Returns:
- the KeyVaultSecretUriSecretInfo object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classSecretInfoBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-