Class AzureIaaSvmProtectedItemExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureIaaSvmProtectedItemExtendedInfo
-
public final class AzureIaaSvmProtectedItemExtendedInfo extends Object
Additional information on Azure IaaS VM specific backup item.
-
-
Constructor Summary
Constructors Constructor Description AzureIaaSvmProtectedItemExtendedInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
newestRecoveryPointInArchive()
Get the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.OffsetDateTime
oldestRecoveryPoint()
Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.OffsetDateTime
oldestRecoveryPointInArchive()
Get the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.OffsetDateTime
oldestRecoveryPointInVault()
Get the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.Boolean
policyInconsistent()
Get the policyInconsistent property: Specifies if backup policy associated with the backup item is inconsistent.Integer
recoveryPointCount()
Get the recoveryPointCount property: Number of backup copies available for this backup item.void
validate()
Validates the instance.AzureIaaSvmProtectedItemExtendedInfo
withNewestRecoveryPointInArchive(OffsetDateTime newestRecoveryPointInArchive)
Set the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.AzureIaaSvmProtectedItemExtendedInfo
withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.AzureIaaSvmProtectedItemExtendedInfo
withOldestRecoveryPointInArchive(OffsetDateTime oldestRecoveryPointInArchive)
Set the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.AzureIaaSvmProtectedItemExtendedInfo
withOldestRecoveryPointInVault(OffsetDateTime oldestRecoveryPointInVault)
Set the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.AzureIaaSvmProtectedItemExtendedInfo
withPolicyInconsistent(Boolean policyInconsistent)
Set the policyInconsistent property: Specifies if backup policy associated with the backup item is inconsistent.AzureIaaSvmProtectedItemExtendedInfo
withRecoveryPointCount(Integer recoveryPointCount)
Set the recoveryPointCount property: Number of backup copies available for this backup item.
-
-
-
Method Detail
-
oldestRecoveryPoint
public OffsetDateTime oldestRecoveryPoint()
Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item across all tiers.- Returns:
- the oldestRecoveryPoint value.
-
withOldestRecoveryPoint
public AzureIaaSvmProtectedItemExtendedInfo 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 AzureIaaSvmProtectedItemExtendedInfo object itself.
-
oldestRecoveryPointInVault
public OffsetDateTime oldestRecoveryPointInVault()
Get the oldestRecoveryPointInVault property: The oldest backup copy available for this backup item in vault tier.- Returns:
- the oldestRecoveryPointInVault value.
-
withOldestRecoveryPointInVault
public AzureIaaSvmProtectedItemExtendedInfo 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 AzureIaaSvmProtectedItemExtendedInfo object itself.
-
oldestRecoveryPointInArchive
public OffsetDateTime oldestRecoveryPointInArchive()
Get the oldestRecoveryPointInArchive property: The oldest backup copy available for this backup item in archive tier.- Returns:
- the oldestRecoveryPointInArchive value.
-
withOldestRecoveryPointInArchive
public AzureIaaSvmProtectedItemExtendedInfo 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 AzureIaaSvmProtectedItemExtendedInfo object itself.
-
newestRecoveryPointInArchive
public OffsetDateTime newestRecoveryPointInArchive()
Get the newestRecoveryPointInArchive property: The latest backup copy available for this backup item in archive tier.- Returns:
- the newestRecoveryPointInArchive value.
-
withNewestRecoveryPointInArchive
public AzureIaaSvmProtectedItemExtendedInfo 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 AzureIaaSvmProtectedItemExtendedInfo object itself.
-
recoveryPointCount
public Integer recoveryPointCount()
Get the recoveryPointCount property: Number of backup copies available for this backup item.- Returns:
- the recoveryPointCount value.
-
withRecoveryPointCount
public AzureIaaSvmProtectedItemExtendedInfo withRecoveryPointCount(Integer recoveryPointCount)
Set the recoveryPointCount property: Number of backup copies available for this backup item.- Parameters:
recoveryPointCount
- the recoveryPointCount value to set.- Returns:
- the AzureIaaSvmProtectedItemExtendedInfo object itself.
-
policyInconsistent
public Boolean policyInconsistent()
Get the policyInconsistent property: Specifies if backup policy associated with the backup item is inconsistent.- Returns:
- the policyInconsistent value.
-
withPolicyInconsistent
public AzureIaaSvmProtectedItemExtendedInfo withPolicyInconsistent(Boolean policyInconsistent)
Set the policyInconsistent property: Specifies if backup policy associated with the backup item is inconsistent.- Parameters:
policyInconsistent
- the policyInconsistent value to set.- Returns:
- the AzureIaaSvmProtectedItemExtendedInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-