Class AzureWorkloadSqlPointInTimeRecoveryPoint
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSqlRecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSqlPointInTimeRecoveryPoint
Recovery point specific to PointInTime.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureWorkloadSqlPointInTimeRecoveryPoint class. -
Method Summary
Modifier and TypeMethodDescriptionGet the timeRanges property: List of log ranges.void
validate()
Validates the instance.withExtendedInfo
(AzureWorkloadSqlRecoveryPointExtendedInfo extendedInfo) Set the extendedInfo property: Extended Info that provides data directory details.withRecoveryPointMoveReadinessInfo
(Map<String, RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo) Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.withRecoveryPointProperties
(RecoveryPointProperties recoveryPointProperties) Set the recoveryPointProperties property: Properties of Recovery Point.withRecoveryPointTierDetails
(List<RecoveryPointTierInformationV2> recoveryPointTierDetails) Set the recoveryPointTierDetails property: Recovery point tier information.withRecoveryPointTimeInUtc
(OffsetDateTime recoveryPointTimeInUtc) Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.withTimeRanges
(List<PointInTimeRange> timeRanges) Set the timeRanges property: List of log ranges.withType
(RestorePointType type) Set the type property: Type of restore point.Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSqlRecoveryPoint
extendedInfo
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
recoveryPointMoveReadinessInfo, recoveryPointProperties, recoveryPointTierDetails, recoveryPointTimeInUtc, type
-
Constructor Details
-
AzureWorkloadSqlPointInTimeRecoveryPoint
public AzureWorkloadSqlPointInTimeRecoveryPoint()Creates an instance of AzureWorkloadSqlPointInTimeRecoveryPoint class.
-
-
Method Details
-
timeRanges
Get the timeRanges property: List of log ranges.- Returns:
- the timeRanges value.
-
withTimeRanges
Set the timeRanges property: List of log ranges.- Parameters:
timeRanges
- the timeRanges value to set.- Returns:
- the AzureWorkloadSqlPointInTimeRecoveryPoint object itself.
-
withExtendedInfo
public AzureWorkloadSqlPointInTimeRecoveryPoint 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.- Overrides:
withExtendedInfo
in classAzureWorkloadSqlRecoveryPoint
- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the AzureWorkloadSqlRecoveryPoint object itself.
-
withRecoveryPointTimeInUtc
public AzureWorkloadSqlPointInTimeRecoveryPoint withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc) Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.- Overrides:
withRecoveryPointTimeInUtc
in classAzureWorkloadSqlRecoveryPoint
- Parameters:
recoveryPointTimeInUtc
- the recoveryPointTimeInUtc value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withType
Set the type property: Type of restore point.- Overrides:
withType
in classAzureWorkloadSqlRecoveryPoint
- Parameters:
type
- the type value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withRecoveryPointTierDetails
public AzureWorkloadSqlPointInTimeRecoveryPoint withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails) Set the recoveryPointTierDetails property: Recovery point tier information.- Overrides:
withRecoveryPointTierDetails
in classAzureWorkloadSqlRecoveryPoint
- Parameters:
recoveryPointTierDetails
- the recoveryPointTierDetails value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withRecoveryPointMoveReadinessInfo
public AzureWorkloadSqlPointInTimeRecoveryPoint withRecoveryPointMoveReadinessInfo(Map<String, RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo) Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.- Overrides:
withRecoveryPointMoveReadinessInfo
in classAzureWorkloadSqlRecoveryPoint
- Parameters:
recoveryPointMoveReadinessInfo
- the recoveryPointMoveReadinessInfo value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withRecoveryPointProperties
public AzureWorkloadSqlPointInTimeRecoveryPoint withRecoveryPointProperties(RecoveryPointProperties recoveryPointProperties) Set the recoveryPointProperties property: Properties of Recovery Point.- Overrides:
withRecoveryPointProperties
in classAzureWorkloadSqlRecoveryPoint
- Parameters:
recoveryPointProperties
- the recoveryPointProperties value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAzureWorkloadSqlRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-