Share via


ImportDiskDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.ImportDiskDetails

Implements

public final class ImportDiskDetails
implements JsonSerializable<ImportDiskDetails>

Import disk details.

Constructor Summary

Constructor Description
ImportDiskDetails()

Creates an instance of ImportDiskDetails class.

Method Summary

Modifier and Type Method and Description
String backupManifestCloudPath()

Get the backupManifestCloudPath property: Path to backed up manifest, only returned if enableManifestBackup is true.

String bitLockerKey()

Get the bitLockerKey property: BitLocker key used to encrypt the disk.

static ImportDiskDetails fromJson(JsonReader jsonReader)

Reads an instance of ImportDiskDetails from the JsonReader.

String manifestFile()

Get the manifestFile property: The relative path of the manifest file on the disk.

String manifestHash()

Get the manifestHash property: The Base16-encoded MD5 hash of the manifest file on the disk.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ImportDiskDetails withBitLockerKey(String bitLockerKey)

Set the bitLockerKey property: BitLocker key used to encrypt the disk.

ImportDiskDetails withManifestFile(String manifestFile)

Set the manifestFile property: The relative path of the manifest file on the disk.

ImportDiskDetails withManifestHash(String manifestHash)

Set the manifestHash property: The Base16-encoded MD5 hash of the manifest file on the disk.

Methods inherited from java.lang.Object

Constructor Details

ImportDiskDetails

public ImportDiskDetails()

Creates an instance of ImportDiskDetails class.

Method Details

backupManifestCloudPath

public String backupManifestCloudPath()

Get the backupManifestCloudPath property: Path to backed up manifest, only returned if enableManifestBackup is true.

Returns:

the backupManifestCloudPath value.

bitLockerKey

public String bitLockerKey()

Get the bitLockerKey property: BitLocker key used to encrypt the disk.

Returns:

the bitLockerKey value.

fromJson

public static ImportDiskDetails fromJson(JsonReader jsonReader)

Reads an instance of ImportDiskDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ImportDiskDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

manifestFile

public String manifestFile()

Get the manifestFile property: The relative path of the manifest file on the disk.

Returns:

the manifestFile value.

manifestHash

public String manifestHash()

Get the manifestHash property: The Base16-encoded MD5 hash of the manifest file on the disk.

Returns:

the manifestHash value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBitLockerKey

public ImportDiskDetails withBitLockerKey(String bitLockerKey)

Set the bitLockerKey property: BitLocker key used to encrypt the disk.

Parameters:

bitLockerKey - the bitLockerKey value to set.

Returns:

the ImportDiskDetails object itself.

withManifestFile

public ImportDiskDetails withManifestFile(String manifestFile)

Set the manifestFile property: The relative path of the manifest file on the disk.

Parameters:

manifestFile - the manifestFile value to set.

Returns:

the ImportDiskDetails object itself.

withManifestHash

public ImportDiskDetails withManifestHash(String manifestHash)

Set the manifestHash property: The Base16-encoded MD5 hash of the manifest file on the disk.

Parameters:

manifestHash - the manifestHash value to set.

Returns:

the ImportDiskDetails object itself.

Applies to