EncryptionServices Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.models.EncryptionServices

Implements

public final class EncryptionServices
implements JsonSerializable<EncryptionServices>

A list of services that support encryption.

Constructor Summary

Constructor Description
EncryptionServices()

Creates an instance of EncryptionServices class.

Method Summary

Modifier and Type Method and Description
EncryptionService blob()

Get the blob property: The encryption function of the blob storage service.

EncryptionService file()

Get the file property: The encryption function of the file storage service.

static EncryptionServices fromJson(JsonReader jsonReader)

Reads an instance of EncryptionServices from the JsonReader.

EncryptionService queue()

Get the queue property: The encryption function of the queue storage service.

EncryptionService table()

Get the table property: The encryption function of the table storage service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EncryptionServices withBlob(EncryptionService blob)

Set the blob property: The encryption function of the blob storage service.

EncryptionServices withFile(EncryptionService file)

Set the file property: The encryption function of the file storage service.

EncryptionServices withQueue(EncryptionService queue)

Set the queue property: The encryption function of the queue storage service.

EncryptionServices withTable(EncryptionService table)

Set the table property: The encryption function of the table storage service.

Methods inherited from java.lang.Object

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.

file

public EncryptionService file()

Get the file property: The encryption function of the file storage service.

Returns:

the file value.

fromJson

public static EncryptionServices fromJson(JsonReader jsonReader)

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.

queue

public EncryptionService queue()

Get the queue property: The encryption function of the queue storage service.

Returns:

the queue value.

table

public EncryptionService table()

Get the table property: The encryption function of the table storage service.

Returns:

the table value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

Applies to