BackupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. netapp. fluent. models. BackupInner
- com.
- com.
public final class BackupInner
extends ProxyResource
Backup under a Backup Vault.
Constructor Summary
Constructor | Description |
---|---|
BackupInner() |
Creates an instance of Backup |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
backupId()
Get the backup |
String |
backupPolicyResourceId()
Get the backup |
Backup |
backupType()
Get the backup |
Offset |
creationDate()
Get the creation |
String |
failureReason()
Get the failure |
String |
label()
Get the label property: Label for backup. |
String |
provisioningState()
Get the provisioning |
Long |
size()
Get the size property: Size of backup in bytes. |
String |
snapshotName()
Get the snapshot |
System |
systemData()
Get the system |
Boolean |
useExistingSnapshot()
Get the use |
void |
validate()
Validates the instance. |
String |
volumeResourceId()
Get the volume |
Backup |
withLabel(String label)
Set the label property: Label for backup. |
Backup |
withSnapshotName(String snapshotName)
Set the snapshot |
Backup |
withUseExistingSnapshot(Boolean useExistingSnapshot)
Set the use |
Backup |
withVolumeResourceId(String volumeResourceId)
Set 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:
backupPolicyResourceId
public String backupPolicyResourceId()
Get the backupPolicyResourceId property: ResourceId used to identify the backup policy.
Returns:
backupType
public BackupType backupType()
Get the backupType property: backupType Type of backup Manual or Scheduled.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: creationDate The creation date of the backup.
Returns:
failureReason
public String failureReason()
Get the failureReason property: Failure reason.
Returns:
label
public String label()
Get the label property: Label for backup.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: Azure lifecycle management.
Returns:
size
public Long size()
Get the size property: Size of backup in bytes.
Returns:
snapshotName
public String snapshotName()
Get the snapshotName property: The name of the snapshot.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
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:
validate
public void validate()
Validates the instance.
volumeResourceId
public String volumeResourceId()
Get the volumeResourceId property: ResourceId used to identify the Volume.
Returns:
withLabel
public BackupInner withLabel(String label)
Set the label property: Label for backup.
Parameters:
Returns:
withSnapshotName
public BackupInner withSnapshotName(String snapshotName)
Set the snapshotName property: The name of the snapshot.
Parameters:
Returns:
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:
Returns:
withVolumeResourceId
public BackupInner withVolumeResourceId(String volumeResourceId)
Set the volumeResourceId property: ResourceId used to identify the Volume.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for