Class EncryptionKeyVaultProperties

java.lang.Object
com.azure.resourcemanager.machinelearning.models.EncryptionKeyVaultProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<EncryptionKeyVaultProperties>

public final class EncryptionKeyVaultProperties extends Object implements com.azure.json.JsonSerializable<EncryptionKeyVaultProperties>
The EncryptionKeyVaultProperties model.
  • Constructor Details

    • EncryptionKeyVaultProperties

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

    • keyVaultArmId

      public String keyVaultArmId()
      Get the keyVaultArmId property: The ArmId of the keyVault where the customer owned encryption key is present.
      Returns:
      the keyVaultArmId value.
    • withKeyVaultArmId

      public EncryptionKeyVaultProperties withKeyVaultArmId(String keyVaultArmId)
      Set the keyVaultArmId property: The ArmId of the keyVault where the customer owned encryption key is present.
      Parameters:
      keyVaultArmId - the keyVaultArmId value to set.
      Returns:
      the EncryptionKeyVaultProperties object itself.
    • keyIdentifier

      public String keyIdentifier()
      Get the keyIdentifier property: Key vault uri to access the encryption key.
      Returns:
      the keyIdentifier value.
    • withKeyIdentifier

      public EncryptionKeyVaultProperties withKeyIdentifier(String keyIdentifier)
      Set the keyIdentifier property: Key vault uri to access the encryption key.
      Parameters:
      keyIdentifier - the keyIdentifier value to set.
      Returns:
      the EncryptionKeyVaultProperties object itself.
    • identityClientId

      public String identityClientId()
      Get the identityClientId property: For future use - The client id of the identity which will be used to access key vault.
      Returns:
      the identityClientId value.
    • withIdentityClientId

      public EncryptionKeyVaultProperties withIdentityClientId(String identityClientId)
      Set the identityClientId property: For future use - The client id of the identity which will be used to access key vault.
      Parameters:
      identityClientId - the identityClientId value to set.
      Returns:
      the EncryptionKeyVaultProperties 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<EncryptionKeyVaultProperties>
      Throws:
      IOException
    • fromJson

      public static EncryptionKeyVaultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of EncryptionKeyVaultProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of EncryptionKeyVaultProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the EncryptionKeyVaultProperties.