Class EncryptionServices

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

public final class EncryptionServices extends Object implements com.azure.json.JsonSerializable<EncryptionServices>
A list of services that support encryption.
  • Constructor Details

    • EncryptionServices

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

    • blob

      public EncryptionService blob()
      Get the blob property: The encryption function of the blob storage service.
      Returns:
      the blob value.
    • withBlob

      public EncryptionServices withBlob(EncryptionService blob)
      Set the blob property: The encryption function of the blob storage service.
      Parameters:
      blob - the blob value to set.
      Returns:
      the EncryptionServices object itself.
    • file

      public EncryptionService file()
      Get the file property: The encryption function of the file storage service.
      Returns:
      the file value.
    • withFile

      public EncryptionServices withFile(EncryptionService file)
      Set the file property: The encryption function of the file storage service.
      Parameters:
      file - the file value to set.
      Returns:
      the EncryptionServices object itself.
    • table

      public EncryptionService table()
      Get the table property: The encryption function of the table storage service.
      Returns:
      the table value.
    • withTable

      public EncryptionServices withTable(EncryptionService table)
      Set the table property: The encryption function of the table storage service.
      Parameters:
      table - the table value to set.
      Returns:
      the EncryptionServices object itself.
    • queue

      public EncryptionService queue()
      Get the queue property: The encryption function of the queue storage service.
      Returns:
      the queue value.
    • withQueue

      public EncryptionServices withQueue(EncryptionService queue)
      Set the queue property: The encryption function of the queue storage service.
      Parameters:
      queue - the queue value to set.
      Returns:
      the EncryptionServices 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<EncryptionServices>
      Throws:
      IOException
    • fromJson

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