Class AzureWorkloadSqlRecoveryPoint
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSqlRecoveryPoint
-
- Direct Known Subclasses:
AzureWorkloadSqlPointInTimeRecoveryPoint
public class AzureWorkloadSqlRecoveryPoint extends AzureWorkloadRecoveryPoint
SQL specific recoverypoint, specifically encapsulates full/diff recoverypoint along with extended info.
-
-
Constructor Summary
Constructors Constructor Description AzureWorkloadSqlRecoveryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureWorkloadSqlRecoveryPointExtendedInfo
extendedInfo()
Get the extendedInfo property: Extended Info that provides data directory details.void
validate()
Validates the instance.AzureWorkloadSqlRecoveryPoint
withExtendedInfo(AzureWorkloadSqlRecoveryPointExtendedInfo extendedInfo)
Set the extendedInfo property: Extended Info that provides data directory details.AzureWorkloadSqlRecoveryPoint
withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.AzureWorkloadSqlRecoveryPoint
withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
Set the recoveryPointTierDetails property: Recovery point tier information.AzureWorkloadSqlRecoveryPoint
withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.AzureWorkloadSqlRecoveryPoint
withType(RestorePointType type)
Set the type property: Type of restore point.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
recoveryPointMoveReadinessInfo, recoveryPointTierDetails, recoveryPointTimeInUtc, type
-
-
-
-
Method Detail
-
extendedInfo
public AzureWorkloadSqlRecoveryPointExtendedInfo extendedInfo()
Get the extendedInfo property: Extended Info that provides data directory details. Will be populated in two cases: When a specific recovery point is accessed using GetRecoveryPoint Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter.- Returns:
- the extendedInfo value.
-
withExtendedInfo
public AzureWorkloadSqlRecoveryPoint withExtendedInfo(AzureWorkloadSqlRecoveryPointExtendedInfo extendedInfo)
Set the extendedInfo property: Extended Info that provides data directory details. Will be populated in two cases: When a specific recovery point is accessed using GetRecoveryPoint Or when ListRecoveryPoints is called for Log RP only with ExtendedInfo query filter.- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the AzureWorkloadSqlRecoveryPoint object itself.
-
withRecoveryPointTimeInUtc
public AzureWorkloadSqlRecoveryPoint withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.- Overrides:
withRecoveryPointTimeInUtc
in classAzureWorkloadRecoveryPoint
- Parameters:
recoveryPointTimeInUtc
- the recoveryPointTimeInUtc value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withType
public AzureWorkloadSqlRecoveryPoint withType(RestorePointType type)
Set the type property: Type of restore point.- Overrides:
withType
in classAzureWorkloadRecoveryPoint
- Parameters:
type
- the type value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withRecoveryPointTierDetails
public AzureWorkloadSqlRecoveryPoint withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
Set the recoveryPointTierDetails property: Recovery point tier information.- Overrides:
withRecoveryPointTierDetails
in classAzureWorkloadRecoveryPoint
- Parameters:
recoveryPointTierDetails
- the recoveryPointTierDetails value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withRecoveryPointMoveReadinessInfo
public AzureWorkloadSqlRecoveryPoint withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.- Overrides:
withRecoveryPointMoveReadinessInfo
in classAzureWorkloadRecoveryPoint
- Parameters:
recoveryPointMoveReadinessInfo
- the recoveryPointMoveReadinessInfo value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureWorkloadRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-