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
oldestRecoveryPoint()
Get the oldestRecoveryPoint property: The oldest backup copy available for this backup item.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
withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item.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.- Returns:
- the oldestRecoveryPoint value.
-
withOldestRecoveryPoint
public AzureIaaSvmProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
Set the oldestRecoveryPoint property: The oldest backup copy available for this backup item.- Parameters:
oldestRecoveryPoint
- the oldestRecoveryPoint 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.
-
-