DiskImageEncryption Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DiskImageEncryption
- com.
Implements
public class DiskImageEncryption
implements JsonSerializable<DiskImageEncryption>
This is the disk image encryption base class.
Constructor Summary
Constructor | Description |
---|---|
DiskImageEncryption() |
Creates an instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
diskEncryptionSetId()
Get the disk |
static
Disk |
fromJson(JsonReader jsonReader)
Reads an instance of Disk |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Disk |
withDiskEncryptionSetId(String diskEncryptionSetId)
Set the disk |
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:
fromJson
public static DiskImageEncryption fromJson(JsonReader jsonReader)
Reads an instance of DiskImageEncryption from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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:
Returns:
Applies to
Azure SDK for Java