Class UserSecretStore
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.UserSecretStore
- All Implemented Interfaces:
com.azure.json.JsonSerializable<UserSecretStore>
public final class UserSecretStore
extends Object
implements com.azure.json.JsonSerializable<UserSecretStore>
Properties of a user's secret store.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UserSecretStore
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of UserSecretStore from the JsonReader.Get the keyVaultId property: The ID of the user's Key vault.Get the keyVaultUri property: The URI of the user's Key vault.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withKeyVaultId
(String keyVaultId) Set the keyVaultId property: The ID of the user's Key vault.withKeyVaultUri
(String keyVaultUri) Set the keyVaultUri property: The URI of the user's Key vault.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
UserSecretStore
public UserSecretStore()Creates an instance of UserSecretStore class.
-
-
Method Details
-
keyVaultUri
Get the keyVaultUri property: The URI of the user's Key vault.- Returns:
- the keyVaultUri value.
-
withKeyVaultUri
Set the keyVaultUri property: The URI of the user's Key vault.- Parameters:
keyVaultUri
- the keyVaultUri value to set.- Returns:
- the UserSecretStore object itself.
-
keyVaultId
Get the keyVaultId property: The ID of the user's Key vault.- Returns:
- the keyVaultId value.
-
withKeyVaultId
Set the keyVaultId property: The ID of the user's Key vault.- Parameters:
keyVaultId
- the keyVaultId value to set.- Returns:
- the UserSecretStore object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<UserSecretStore>
- Throws:
IOException
-
fromJson
Reads an instance of UserSecretStore from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of UserSecretStore if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the UserSecretStore.
-