Class EncryptionProperties

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

public final class EncryptionProperties extends Object implements com.azure.json.JsonSerializable<EncryptionProperties>
The encryption settings on the volume group.
  • Constructor Details

    • EncryptionProperties

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

    • keyVaultProperties

      public KeyVaultProperties keyVaultProperties()
      Get the keyVaultProperties property: Properties provided by key vault.
      Returns:
      the keyVaultProperties value.
    • withKeyVaultProperties

      public EncryptionProperties withKeyVaultProperties(KeyVaultProperties keyVaultProperties)
      Set the keyVaultProperties property: Properties provided by key vault.
      Parameters:
      keyVaultProperties - the keyVaultProperties value to set.
      Returns:
      the EncryptionProperties object itself.
    • encryptionIdentity

      public EncryptionIdentity encryptionIdentity()
      Get the encryptionIdentity property: The identity to be used with service-side encryption at rest.
      Returns:
      the encryptionIdentity value.
    • withEncryptionIdentity

      public EncryptionProperties withEncryptionIdentity(EncryptionIdentity encryptionIdentity)
      Set the encryptionIdentity property: The identity to be used with service-side encryption at rest.
      Parameters:
      encryptionIdentity - the encryptionIdentity value to set.
      Returns:
      the EncryptionProperties 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<EncryptionProperties>
      Throws:
      IOException
    • fromJson

      public static EncryptionProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of EncryptionProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of EncryptionProperties 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 EncryptionProperties.