Class AzureSqlProtectedItemExtendedInfo
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureSqlProtectedItemExtendedInfo
-
public final class AzureSqlProtectedItemExtendedInfo extends Object
Additional information on Azure Sql specific protected item.
-
-
Constructor Summary
Constructors Constructor Description AzureSqlProtectedItemExtendedInfo()
-
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 item in the service.String
policyState()
Get the policyState property: State of the backup policy associated with this backup item.Integer
recoveryPointCount()
Get the recoveryPointCount property: Number of available backup copies associated with this backup item.void
validate()
Validates the instance.AzureSqlProtectedItemExtendedInfo
withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
Set the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.AzureSqlProtectedItemExtendedInfo
withPolicyState(String policyState)
Set the policyState property: State of the backup policy associated with this backup item.AzureSqlProtectedItemExtendedInfo
withRecoveryPointCount(Integer recoveryPointCount)
Set the recoveryPointCount property: Number of available backup copies associated with this backup item.
-
-
-
Method Detail
-
oldestRecoveryPoint
public OffsetDateTime 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
public Integer recoveryPointCount()
Get the recoveryPointCount property: Number of available backup copies associated with this backup item.- Returns:
- the recoveryPointCount value.
-
withRecoveryPointCount
public AzureSqlProtectedItemExtendedInfo withRecoveryPointCount(Integer recoveryPointCount)
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
public String policyState()
Get the policyState property: State of the backup policy associated with this backup item.- Returns:
- the policyState value.
-
withPolicyState
public AzureSqlProtectedItemExtendedInfo withPolicyState(String policyState)
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.
-
-