EncryptionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.fluidrelay.models.EncryptionProperties

Implements

public final class EncryptionProperties
implements JsonSerializable<EncryptionProperties>

All encryption configuration for a resource.

Constructor Summary

Constructor Description
EncryptionProperties()

Creates an instance of EncryptionProperties class.

Method Summary

Modifier and Type Method and Description
CustomerManagedKeyEncryptionProperties customerManagedKeyEncryption()

Get the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.

static EncryptionProperties fromJson(JsonReader jsonReader)

Reads an instance of EncryptionProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

EncryptionProperties withCustomerManagedKeyEncryption(CustomerManagedKeyEncryptionProperties customerManagedKeyEncryption)

Set the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.

Methods inherited from java.lang.Object

Constructor Details

EncryptionProperties

public EncryptionProperties()

Creates an instance of EncryptionProperties class.

Method Details

customerManagedKeyEncryption

public CustomerManagedKeyEncryptionProperties customerManagedKeyEncryption()

Get the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.

Returns:

the customerManagedKeyEncryption value.

fromJson

public static EncryptionProperties fromJson(JsonReader jsonReader)

Reads an instance of EncryptionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EncryptionProperties 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 EncryptionProperties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCustomerManagedKeyEncryption

public EncryptionProperties withCustomerManagedKeyEncryption(CustomerManagedKeyEncryptionProperties customerManagedKeyEncryption)

Set the customerManagedKeyEncryption property: All Customer-managed key encryption properties for the resource.

Parameters:

customerManagedKeyEncryption - the customerManagedKeyEncryption value to set.

Returns:

the EncryptionProperties object itself.

Applies to