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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblob()Get the blob property: The encryption function of the blob storage service.file()Get the file property: The encryption function of the file storage service.static EncryptionServicesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EncryptionServices from the JsonReader.queue()Get the queue property: The encryption function of the queue storage service.table()Get the table property: The encryption function of the table storage service.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBlob(EncryptionService blob) Set the blob property: The encryption function of the blob storage service.withFile(EncryptionService file) Set the file property: The encryption function of the file storage service.withQueue(EncryptionService queue) Set the queue property: The encryption function of the queue storage service.withTable(EncryptionService table) Set the table property: The encryption function of the table storage service.Methods inherited from class 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
-
EncryptionServices
public EncryptionServices()Creates an instance of EncryptionServices class.
-
-
Method Details
-
blob
Get the blob property: The encryption function of the blob storage service.- Returns:
- the blob value.
-
withBlob
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
Get the file property: The encryption function of the file storage service.- Returns:
- the file value.
-
withFile
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
Get the table property: The encryption function of the table storage service.- Returns:
- the table value.
-
withTable
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
Get the queue property: The encryption function of the queue storage service.- Returns:
- the queue value.
-
withQueue
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EncryptionServices>- Throws:
IOException
-
fromJson
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.
-