Class AzureSqlProtectedItemExtendedInfo
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.AzureSqlProtectedItemExtendedInfo
Additional information on Azure Sql specific protected item.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureSqlProtectedItemExtendedInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.Get the policyState property: State of the backup policy associated with this backup item.Get the recoveryPointCount property: Number of available backup copies associated with this backup item.void
validate()
Validates the instance.withOldestRecoveryPoint
(OffsetDateTime oldestRecoveryPoint) Set the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.withPolicyState
(String policyState) Set the policyState property: State of the backup policy associated with this backup item.withRecoveryPointCount
(Integer recoveryPointCount) Set the recoveryPointCount property: Number of available backup copies associated with this backup item.
-
Constructor Details
-
AzureSqlProtectedItemExtendedInfo
public AzureSqlProtectedItemExtendedInfo()Creates an instance of AzureSqlProtectedItemExtendedInfo class.
-
-
Method Details
-
oldestRecoveryPoint
Get the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.- Returns:
- the oldestRecoveryPoint value.
-
withOldestRecoveryPoint
public AzureSqlProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint) Set the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.- Parameters:
oldestRecoveryPoint
- the oldestRecoveryPoint value to set.- Returns:
- the AzureSqlProtectedItemExtendedInfo object itself.
-
recoveryPointCount
Get the recoveryPointCount property: Number of available backup copies associated with this backup item.- Returns:
- the recoveryPointCount value.
-
withRecoveryPointCount
Set the recoveryPointCount property: Number of available backup copies associated with this backup item.- Parameters:
recoveryPointCount
- the recoveryPointCount value to set.- Returns:
- the AzureSqlProtectedItemExtendedInfo object itself.
-
policyState
Get the policyState property: State of the backup policy associated with this backup item.- Returns:
- the policyState value.
-
withPolicyState
Set the policyState property: State of the backup policy associated with this backup item.- Parameters:
policyState
- the policyState value to set.- Returns:
- the AzureSqlProtectedItemExtendedInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-