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 Summary
ConstructorsConstructorDescriptionCreates an instance of EncryptionEntitiesDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionstatic EncryptionEntitiesDefinitionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EncryptionEntitiesDefinition from the JsonReader.Get the managedDisk property: Encryption properties for the databricks managed disks.Get the managedServices property: Encryption properties for the databricks managed services.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withManagedDisk(ManagedDiskEncryption managedDisk) Set the managedDisk property: Encryption properties for the databricks managed disks.withManagedServices(EncryptionV2 managedServices) Set the managedServices property: Encryption properties for the databricks managed services.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
EncryptionEntitiesDefinition
public EncryptionEntitiesDefinition()Creates an instance of EncryptionEntitiesDefinition class.
-
-
Method Details
-
managedServices
Get the managedServices property: Encryption properties for the databricks managed services.- Returns:
- the managedServices value.
-
withManagedServices
Set the managedServices property: Encryption properties for the databricks managed services.- Parameters:
managedServices- the managedServices value to set.- Returns:
- the EncryptionEntitiesDefinition object itself.
-
managedDisk
Get the managedDisk property: Encryption properties for the databricks managed disks.- Returns:
- the managedDisk value.
-
withManagedDisk
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
- Specified by:
toJsonin interfacecom.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.
-