Share via


Encryption Class

  • java.lang.Object
    • com.azure.resourcemanager.devcenter.models.Encryption

Implements

public final class Encryption
implements JsonSerializable<Encryption>

The Encryption model.

Constructor Summary

Constructor Description
Encryption()

Creates an instance of Encryption class.

Method Summary

Modifier and Type Method and Description
CustomerManagedKeyEncryption customerManagedKeyEncryption()

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

static Encryption fromJson(JsonReader jsonReader)

Reads an instance of Encryption from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Encryption withCustomerManagedKeyEncryption(CustomerManagedKeyEncryption customerManagedKeyEncryption)

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

Methods inherited from java.lang.Object

Constructor Details

Encryption

public Encryption()

Creates an instance of Encryption class.

Method Details

customerManagedKeyEncryption

public CustomerManagedKeyEncryption customerManagedKeyEncryption()

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

Returns:

the customerManagedKeyEncryption value.

fromJson

public static Encryption fromJson(JsonReader jsonReader)

Reads an instance of Encryption from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCustomerManagedKeyEncryption

public Encryption withCustomerManagedKeyEncryption(CustomerManagedKeyEncryption customerManagedKeyEncryption)

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

Parameters:

customerManagedKeyEncryption - the customerManagedKeyEncryption value to set.

Returns:

the Encryption object itself.

Applies to