Class AzureVmWorkloadProtectedItemExtendedInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.AzureVmWorkloadProtectedItemExtendedInfo
Additional information on Azure Workload for SQL specific backup item.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureVmWorkloadProtectedItemExtendedInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.Get the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.Get the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.Get the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.Get the recoveryPointCount property: Number of backup copies available for this backup item.void
validate()
Validates the instance.withNewestRecoveryPointInArchive
(OffsetDateTime newestRecoveryPointInArchive) Set the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.withOldestRecoveryPoint
(OffsetDateTime oldestRecoveryPoint) Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.withOldestRecoveryPointInArchive
(OffsetDateTime oldestRecoveryPointInArchive) Set the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.withOldestRecoveryPointInVault
(OffsetDateTime oldestRecoveryPointInVault) Set the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.withPolicyState
(String policyState) Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.withRecoveryModel
(String recoveryModel) Set the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.withRecoveryPointCount
(Integer recoveryPointCount) Set the recoveryPointCount property: Number of backup copies available for this backup item.
-
Constructor Details
-
AzureVmWorkloadProtectedItemExtendedInfo
public AzureVmWorkloadProtectedItemExtendedInfo()Creates an instance of AzureVmWorkloadProtectedItemExtendedInfo class.
-
-
Method Details
-
oldestRecoveryPoint
Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.- Returns:
- the oldestRecoveryPoint value.
-
withOldestRecoveryPoint
public AzureVmWorkloadProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint) Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.- Parameters:
oldestRecoveryPoint
- the oldestRecoveryPoint value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
oldestRecoveryPointInVault
Get the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.- Returns:
- the oldestRecoveryPointInVault value.
-
withOldestRecoveryPointInVault
public AzureVmWorkloadProtectedItemExtendedInfo withOldestRecoveryPointInVault(OffsetDateTime oldestRecoveryPointInVault) Set the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.- Parameters:
oldestRecoveryPointInVault
- the oldestRecoveryPointInVault value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
oldestRecoveryPointInArchive
Get the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.- Returns:
- the oldestRecoveryPointInArchive value.
-
withOldestRecoveryPointInArchive
public AzureVmWorkloadProtectedItemExtendedInfo withOldestRecoveryPointInArchive(OffsetDateTime oldestRecoveryPointInArchive) Set the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.- Parameters:
oldestRecoveryPointInArchive
- the oldestRecoveryPointInArchive value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
newestRecoveryPointInArchive
Get the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.- Returns:
- the newestRecoveryPointInArchive value.
-
withNewestRecoveryPointInArchive
public AzureVmWorkloadProtectedItemExtendedInfo withNewestRecoveryPointInArchive(OffsetDateTime newestRecoveryPointInArchive) Set the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.- Parameters:
newestRecoveryPointInArchive
- the newestRecoveryPointInArchive value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
recoveryPointCount
Get the recoveryPointCount property: Number of backup copies available for this backup item.- Returns:
- the recoveryPointCount value.
-
withRecoveryPointCount
Set the recoveryPointCount property: Number of backup copies available for this backup item.- Parameters:
recoveryPointCount
- the recoveryPointCount value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
policyState
Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.- Returns:
- the policyState value.
-
withPolicyState
Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.- Parameters:
policyState
- the policyState value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
recoveryModel
Get the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.- Returns:
- the recoveryModel value.
-
withRecoveryModel
Set the recoveryModel property: Indicates consistency of policy object and policy applied to this backup item.- Parameters:
recoveryModel
- the recoveryModel value to set.- Returns:
- the AzureVmWorkloadProtectedItemExtendedInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-