BackupInner Class

public final class BackupInner
extends ProxyResource

Backup under a Backup Vault.

Constructor Summary

Constructor Description
BackupInner()

Creates an instance of BackupInner class.

Method Summary

Modifier and Type Method and Description
String backupId()

Get the backupId property: backupId UUID v4 used to identify the Backup.

String backupPolicyResourceId()

Get the backupPolicyResourceId property: ResourceId used to identify the backup policy.

BackupType backupType()

Get the backupType property: backupType Type of backup Manual or Scheduled.

OffsetDateTime creationDate()

Get the creationDate property: creationDate The creation date of the backup.

String failureReason()

Get the failureReason property: Failure reason.

String label()

Get the label property: Label for backup.

String provisioningState()

Get the provisioningState property: Azure lifecycle management.

Long size()

Get the size property: Size of backup in bytes.

String snapshotName()

Get the snapshotName property: The name of the snapshot.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Boolean useExistingSnapshot()

Get the useExistingSnapshot property: Manual backup an already existing snapshot.

void validate()

Validates the instance.

String volumeResourceId()

Get the volumeResourceId property: ResourceId used to identify the Volume.

BackupInner withLabel(String label)

Set the label property: Label for backup.

BackupInner withSnapshotName(String snapshotName)

Set the snapshotName property: The name of the snapshot.

BackupInner withUseExistingSnapshot(Boolean useExistingSnapshot)

Set the useExistingSnapshot property: Manual backup an already existing snapshot.

BackupInner withVolumeResourceId(String volumeResourceId)

Set the volumeResourceId property: ResourceId used to identify the Volume.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

BackupInner

public BackupInner()

Creates an instance of BackupInner class.

Method Details

backupId

public String backupId()

Get the backupId property: backupId UUID v4 used to identify the Backup.

Returns:

the backupId value.

backupPolicyResourceId

public String backupPolicyResourceId()

Get the backupPolicyResourceId property: ResourceId used to identify the backup policy.

Returns:

the backupPolicyResourceId value.

backupType

public BackupType backupType()

Get the backupType property: backupType Type of backup Manual or Scheduled.

Returns:

the backupType value.

creationDate

public OffsetDateTime creationDate()

Get the creationDate property: creationDate The creation date of the backup.

Returns:

the creationDate value.

failureReason

public String failureReason()

Get the failureReason property: Failure reason.

Returns:

the failureReason value.

label

public String label()

Get the label property: Label for backup.

Returns:

the label value.

provisioningState

public String provisioningState()

Get the provisioningState property: Azure lifecycle management.

Returns:

the provisioningState value.

size

public Long size()

Get the size property: Size of backup in bytes.

Returns:

the size value.

snapshotName

public String snapshotName()

Get the snapshotName property: The name of the snapshot.

Returns:

the snapshotName value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

useExistingSnapshot

public Boolean useExistingSnapshot()

Get the useExistingSnapshot property: Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.

Returns:

the useExistingSnapshot value.

validate

public void validate()

Validates the instance.

volumeResourceId

public String volumeResourceId()

Get the volumeResourceId property: ResourceId used to identify the Volume.

Returns:

the volumeResourceId value.

withLabel

public BackupInner withLabel(String label)

Set the label property: Label for backup.

Parameters:

label - the label value to set.

Returns:

the BackupInner object itself.

withSnapshotName

public BackupInner withSnapshotName(String snapshotName)

Set the snapshotName property: The name of the snapshot.

Parameters:

snapshotName - the snapshotName value to set.

Returns:

the BackupInner object itself.

withUseExistingSnapshot

public BackupInner withUseExistingSnapshot(Boolean useExistingSnapshot)

Set the useExistingSnapshot property: Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups.

Parameters:

useExistingSnapshot - the useExistingSnapshot value to set.

Returns:

the BackupInner object itself.

withVolumeResourceId

public BackupInner withVolumeResourceId(String volumeResourceId)

Set the volumeResourceId property: ResourceId used to identify the Volume.

Parameters:

volumeResourceId - the volumeResourceId value to set.

Returns:

the BackupInner object itself.

Applies to