Class BackupInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.netapp.fluent.models.BackupInner
public final class BackupInner
extends com.azure.core.management.ProxyResource
Backup of a Volume.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbackupId()
Get the backupId property: backupIdGet the backupType property: backupTypeGet the creationDate property: creationDateGet the failureReason property: Failure reason.label()
Get the label property: Label for backup.location()
Get the location property: Resource location.Get the provisioningState property: Azure lifecycle management.size()
Get the size property: Size of backup.Get the useExistingSnapshot property: Manual backup an already existing snapshot.void
validate()
Validates the instance.Get the volumeName property: Volume name.Set the label property: Label for backup.withLocation
(String location) Set the location property: Resource location.withUseExistingSnapshot
(Boolean useExistingSnapshot) Set the useExistingSnapshot property: Manual backup an already existing snapshot.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
BackupInner
public BackupInner()
-
-
Method Details
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
withLocation
Set the location property: Resource location.- Parameters:
location
- the location value to set.- Returns:
- the BackupInner object itself.
-
backupId
Get the backupId property: backupIdUUID v4 used to identify the Backup.
- Returns:
- the backupId value.
-
creationDate
Get the creationDate property: creationDateThe creation date of the backup.
- Returns:
- the creationDate value.
-
provisioningState
Get the provisioningState property: Azure lifecycle management.- Returns:
- the provisioningState value.
-
size
Get the size property: Size of backup.- Returns:
- the size value.
-
label
Get the label property: Label for backup.- Returns:
- the label value.
-
withLabel
Set the label property: Label for backup.- Parameters:
label
- the label value to set.- Returns:
- the BackupInner object itself.
-
backupType
Get the backupType property: backupTypeType of backup Manual or Scheduled.
- Returns:
- the backupType value.
-
failureReason
Get the failureReason property: Failure reason.- Returns:
- the failureReason value.
-
volumeName
Get the volumeName property: Volume name.- Returns:
- the volumeName value.
-
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.
-
withUseExistingSnapshot
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-