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 Details

    • UserSecretStore

      public UserSecretStore()
      Creates an instance of UserSecretStore class.
  • Method Details

    • keyVaultUri

      public String keyVaultUri()
      Get the keyVaultUri property: The URI of the user's Key vault.
      Returns:
      the keyVaultUri value.
    • withKeyVaultUri

      public UserSecretStore withKeyVaultUri(String keyVaultUri)
      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

      public String keyVaultId()
      Get the keyVaultId property: The ID of the user's Key vault.
      Returns:
      the keyVaultId value.
    • withKeyVaultId

      public UserSecretStore withKeyVaultId(String keyVaultId)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<UserSecretStore>
      Throws:
      IOException
    • fromJson

      public static UserSecretStore fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.