DiskImageEncryption Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.DiskImageEncryption

Implements

public class DiskImageEncryption
implements JsonSerializable<DiskImageEncryption>

This is the disk image encryption base class.

Constructor Summary

Constructor Description
DiskImageEncryption()

Creates an instance of DiskImageEncryption class.

Method Summary

Modifier and Type Method and Description
String diskEncryptionSetId()

Get the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.

static DiskImageEncryption fromJson(JsonReader jsonReader)

Reads an instance of DiskImageEncryption from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DiskImageEncryption withDiskEncryptionSetId(String diskEncryptionSetId)

Set the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.

Methods inherited from java.lang.Object

Constructor Details

DiskImageEncryption

public DiskImageEncryption()

Creates an instance of DiskImageEncryption class.

Method Details

diskEncryptionSetId

public String diskEncryptionSetId()

Get the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.

Returns:

the diskEncryptionSetId value.

fromJson

public static DiskImageEncryption fromJson(JsonReader jsonReader)

Reads an instance of DiskImageEncryption from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDiskEncryptionSetId

public DiskImageEncryption withDiskEncryptionSetId(String diskEncryptionSetId)

Set the diskEncryptionSetId property: A relative URI containing the resource ID of the disk encryption set.

Parameters:

diskEncryptionSetId - the diskEncryptionSetId value to set.

Returns:

the DiskImageEncryption object itself.

Applies to