Class AzureIaaSvmProtectedItem

    • Constructor Detail

      • AzureIaaSvmProtectedItem

        public AzureIaaSvmProtectedItem()
    • Method Detail

      • friendlyName

        public String friendlyName()
        Get the friendlyName property: Friendly name of the VM represented by this backup item.
        Returns:
        the friendlyName value.
      • withFriendlyName

        public AzureIaaSvmProtectedItem withFriendlyName​(String friendlyName)
        Set the friendlyName property: Friendly name of the VM represented by this backup item.
        Parameters:
        friendlyName - the friendlyName value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • virtualMachineId

        public String virtualMachineId()
        Get the virtualMachineId property: Fully qualified ARM ID of the virtual machine represented by this item.
        Returns:
        the virtualMachineId value.
      • withVirtualMachineId

        public AzureIaaSvmProtectedItem withVirtualMachineId​(String virtualMachineId)
        Set the virtualMachineId property: Fully qualified ARM ID of the virtual machine represented by this item.
        Parameters:
        virtualMachineId - the virtualMachineId value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • protectionStatus

        public String protectionStatus()
        Get the protectionStatus property: Backup status of this backup item.
        Returns:
        the protectionStatus value.
      • withProtectionStatus

        public AzureIaaSvmProtectedItem withProtectionStatus​(String protectionStatus)
        Set the protectionStatus property: Backup status of this backup item.
        Parameters:
        protectionStatus - the protectionStatus value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • protectionState

        public ProtectionState protectionState()
        Get the protectionState property: Backup state of this backup item.
        Returns:
        the protectionState value.
      • withProtectionState

        public AzureIaaSvmProtectedItem withProtectionState​(ProtectionState protectionState)
        Set the protectionState property: Backup state of this backup item.
        Parameters:
        protectionState - the protectionState value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • healthStatus

        public HealthStatus healthStatus()
        Get the healthStatus property: Health status of protected item.
        Returns:
        the healthStatus value.
      • withHealthStatus

        public AzureIaaSvmProtectedItem withHealthStatus​(HealthStatus healthStatus)
        Set the healthStatus property: Health status of protected item.
        Parameters:
        healthStatus - the healthStatus value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • healthDetails

        public List<AzureIaaSvmHealthDetails> healthDetails()
        Get the healthDetails property: Health details on this backup item.
        Returns:
        the healthDetails value.
      • withHealthDetails

        public AzureIaaSvmProtectedItem withHealthDetails​(List<AzureIaaSvmHealthDetails> healthDetails)
        Set the healthDetails property: Health details on this backup item.
        Parameters:
        healthDetails - the healthDetails value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • kpisHealths

        public Map<String,​KpiResourceHealthDetails> kpisHealths()
        Get the kpisHealths property: Health details of different KPIs.
        Returns:
        the kpisHealths value.
      • withKpisHealths

        public AzureIaaSvmProtectedItem withKpisHealths​(Map<String,​KpiResourceHealthDetails> kpisHealths)
        Set the kpisHealths property: Health details of different KPIs.
        Parameters:
        kpisHealths - the kpisHealths value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • lastBackupStatus

        public String lastBackupStatus()
        Get the lastBackupStatus property: Last backup operation status.
        Returns:
        the lastBackupStatus value.
      • withLastBackupStatus

        public AzureIaaSvmProtectedItem withLastBackupStatus​(String lastBackupStatus)
        Set the lastBackupStatus property: Last backup operation status.
        Parameters:
        lastBackupStatus - the lastBackupStatus value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • lastBackupTime

        public OffsetDateTime lastBackupTime()
        Get the lastBackupTime property: Timestamp of the last backup operation on this backup item.
        Returns:
        the lastBackupTime value.
      • withLastBackupTime

        public AzureIaaSvmProtectedItem withLastBackupTime​(OffsetDateTime lastBackupTime)
        Set the lastBackupTime property: Timestamp of the last backup operation on this backup item.
        Parameters:
        lastBackupTime - the lastBackupTime value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • protectedItemDataId

        public String protectedItemDataId()
        Get the protectedItemDataId property: Data ID of the protected item.
        Returns:
        the protectedItemDataId value.
      • withProtectedItemDataId

        public AzureIaaSvmProtectedItem withProtectedItemDataId​(String protectedItemDataId)
        Set the protectedItemDataId property: Data ID of the protected item.
        Parameters:
        protectedItemDataId - the protectedItemDataId value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • extendedInfo

        public AzureIaaSvmProtectedItemExtendedInfo extendedInfo()
        Get the extendedInfo property: Additional information for this backup item.
        Returns:
        the extendedInfo value.
      • withExtendedInfo

        public AzureIaaSvmProtectedItem withExtendedInfo​(AzureIaaSvmProtectedItemExtendedInfo extendedInfo)
        Set the extendedInfo property: Additional information for this backup item.
        Parameters:
        extendedInfo - the extendedInfo value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • extendedProperties

        public ExtendedProperties extendedProperties()
        Get the extendedProperties property: Extended Properties for Azure IaasVM Backup.
        Returns:
        the extendedProperties value.
      • withExtendedProperties

        public AzureIaaSvmProtectedItem withExtendedProperties​(ExtendedProperties extendedProperties)
        Set the extendedProperties property: Extended Properties for Azure IaasVM Backup.
        Parameters:
        extendedProperties - the extendedProperties value to set.
        Returns:
        the AzureIaaSvmProtectedItem object itself.
      • withContainerName

        public AzureIaaSvmProtectedItem withContainerName​(String containerName)
        Set the containerName property: Unique name of container.
        Overrides:
        withContainerName in class ProtectedItem
        Parameters:
        containerName - the containerName value to set.
        Returns:
        the ProtectedItem object itself.
      • withSourceResourceId

        public AzureIaaSvmProtectedItem withSourceResourceId​(String sourceResourceId)
        Set the sourceResourceId property: ARM ID of the resource to be backed up.
        Overrides:
        withSourceResourceId in class ProtectedItem
        Parameters:
        sourceResourceId - the sourceResourceId value to set.
        Returns:
        the ProtectedItem object itself.
      • withPolicyId

        public AzureIaaSvmProtectedItem withPolicyId​(String policyId)
        Set the policyId property: ID of the backup policy with which this item is backed up.
        Overrides:
        withPolicyId in class ProtectedItem
        Parameters:
        policyId - the policyId value to set.
        Returns:
        the ProtectedItem object itself.
      • withLastRecoveryPoint

        public AzureIaaSvmProtectedItem withLastRecoveryPoint​(OffsetDateTime lastRecoveryPoint)
        Set the lastRecoveryPoint property: Timestamp when the last (latest) backup copy was created for this backup item.
        Overrides:
        withLastRecoveryPoint in class ProtectedItem
        Parameters:
        lastRecoveryPoint - the lastRecoveryPoint value to set.
        Returns:
        the ProtectedItem object itself.
      • withBackupSetName

        public AzureIaaSvmProtectedItem withBackupSetName​(String backupSetName)
        Set the backupSetName property: Name of the backup set the backup item belongs to.
        Overrides:
        withBackupSetName in class ProtectedItem
        Parameters:
        backupSetName - the backupSetName value to set.
        Returns:
        the ProtectedItem object itself.
      • withCreateMode

        public AzureIaaSvmProtectedItem withCreateMode​(CreateMode createMode)
        Set the createMode property: Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
        Overrides:
        withCreateMode in class ProtectedItem
        Parameters:
        createMode - the createMode value to set.
        Returns:
        the ProtectedItem object itself.
      • withDeferredDeleteTimeInUtc

        public AzureIaaSvmProtectedItem withDeferredDeleteTimeInUtc​(OffsetDateTime deferredDeleteTimeInUtc)
        Set the deferredDeleteTimeInUtc property: Time for deferred deletion in UTC.
        Overrides:
        withDeferredDeleteTimeInUtc in class ProtectedItem
        Parameters:
        deferredDeleteTimeInUtc - the deferredDeleteTimeInUtc value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsScheduledForDeferredDelete

        public AzureIaaSvmProtectedItem withIsScheduledForDeferredDelete​(Boolean isScheduledForDeferredDelete)
        Set the isScheduledForDeferredDelete property: Flag to identify whether the DS is scheduled for deferred delete.
        Overrides:
        withIsScheduledForDeferredDelete in class ProtectedItem
        Parameters:
        isScheduledForDeferredDelete - the isScheduledForDeferredDelete value to set.
        Returns:
        the ProtectedItem object itself.
      • withDeferredDeleteTimeRemaining

        public AzureIaaSvmProtectedItem withDeferredDeleteTimeRemaining​(String deferredDeleteTimeRemaining)
        Set the deferredDeleteTimeRemaining property: Time remaining before the DS marked for deferred delete is permanently deleted.
        Overrides:
        withDeferredDeleteTimeRemaining in class ProtectedItem
        Parameters:
        deferredDeleteTimeRemaining - the deferredDeleteTimeRemaining value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsDeferredDeleteScheduleUpcoming

        public AzureIaaSvmProtectedItem withIsDeferredDeleteScheduleUpcoming​(Boolean isDeferredDeleteScheduleUpcoming)
        Set the isDeferredDeleteScheduleUpcoming property: Flag to identify whether the deferred deleted DS is to be purged soon.
        Overrides:
        withIsDeferredDeleteScheduleUpcoming in class ProtectedItem
        Parameters:
        isDeferredDeleteScheduleUpcoming - the isDeferredDeleteScheduleUpcoming value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsRehydrate

        public AzureIaaSvmProtectedItem withIsRehydrate​(Boolean isRehydrate)
        Set the isRehydrate property: Flag to identify that deferred deleted DS is to be moved into Pause state.
        Overrides:
        withIsRehydrate in class ProtectedItem
        Parameters:
        isRehydrate - the isRehydrate value to set.
        Returns:
        the ProtectedItem object itself.
      • withResourceGuardOperationRequests

        public AzureIaaSvmProtectedItem withResourceGuardOperationRequests​(List<String> resourceGuardOperationRequests)
        Set the resourceGuardOperationRequests property: ResourceGuardOperationRequests on which LAC check will be performed.
        Overrides:
        withResourceGuardOperationRequests in class ProtectedItem
        Parameters:
        resourceGuardOperationRequests - the resourceGuardOperationRequests value to set.
        Returns:
        the ProtectedItem object itself.
      • withIsArchiveEnabled

        public AzureIaaSvmProtectedItem withIsArchiveEnabled​(Boolean isArchiveEnabled)
        Set the isArchiveEnabled property: Flag to identify whether datasource is protected in archive.
        Overrides:
        withIsArchiveEnabled in class ProtectedItem
        Parameters:
        isArchiveEnabled - the isArchiveEnabled value to set.
        Returns:
        the ProtectedItem object itself.
      • withPolicyName

        public AzureIaaSvmProtectedItem withPolicyName​(String policyName)
        Set the policyName property: Name of the policy used for protection.
        Overrides:
        withPolicyName in class ProtectedItem
        Parameters:
        policyName - the policyName value to set.
        Returns:
        the ProtectedItem object itself.