Class EncryptionEntitiesDefinition

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

public final class EncryptionEntitiesDefinition extends Object implements com.azure.json.JsonSerializable<EncryptionEntitiesDefinition>
Encryption entities for databricks workspace resource.
  • Constructor Details

    • EncryptionEntitiesDefinition

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

    • managedServices

      public EncryptionV2 managedServices()
      Get the managedServices property: Encryption properties for the databricks managed services.
      Returns:
      the managedServices value.
    • withManagedServices

      public EncryptionEntitiesDefinition withManagedServices(EncryptionV2 managedServices)
      Set the managedServices property: Encryption properties for the databricks managed services.
      Parameters:
      managedServices - the managedServices value to set.
      Returns:
      the EncryptionEntitiesDefinition object itself.
    • managedDisk

      public ManagedDiskEncryption managedDisk()
      Get the managedDisk property: Encryption properties for the databricks managed disks.
      Returns:
      the managedDisk value.
    • withManagedDisk

      public EncryptionEntitiesDefinition withManagedDisk(ManagedDiskEncryption managedDisk)
      Set the managedDisk property: Encryption properties for the databricks managed disks.
      Parameters:
      managedDisk - the managedDisk value to set.
      Returns:
      the EncryptionEntitiesDefinition 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<EncryptionEntitiesDefinition>
      Throws:
      IOException
    • fromJson

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