Class AzureWorkloadPointInTimeRecoveryPoint
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadPointInTimeRecoveryPoint
-
- Direct Known Subclasses:
AzureWorkloadSapHanaPointInTimeRecoveryPoint
public class AzureWorkloadPointInTimeRecoveryPoint extends AzureWorkloadRecoveryPoint
Recovery point specific to PointInTime.
-
-
Constructor Summary
Constructors Constructor Description AzureWorkloadPointInTimeRecoveryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PointInTimeRange>
timeRanges()
Get the timeRanges property: List of log ranges.void
validate()
Validates the instance.AzureWorkloadPointInTimeRecoveryPoint
withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.AzureWorkloadPointInTimeRecoveryPoint
withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
Set the recoveryPointTierDetails property: Recovery point tier information.AzureWorkloadPointInTimeRecoveryPoint
withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.AzureWorkloadPointInTimeRecoveryPoint
withTimeRanges(List<PointInTimeRange> timeRanges)
Set the timeRanges property: List of log ranges.AzureWorkloadPointInTimeRecoveryPoint
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
-
timeRanges
public List<PointInTimeRange> timeRanges()
Get the timeRanges property: List of log ranges.- Returns:
- the timeRanges value.
-
withTimeRanges
public AzureWorkloadPointInTimeRecoveryPoint withTimeRanges(List<PointInTimeRange> timeRanges)
Set the timeRanges property: List of log ranges.- Parameters:
timeRanges
- the timeRanges value to set.- Returns:
- the AzureWorkloadPointInTimeRecoveryPoint object itself.
-
withRecoveryPointTimeInUtc
public AzureWorkloadPointInTimeRecoveryPoint 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 AzureWorkloadPointInTimeRecoveryPoint 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 AzureWorkloadPointInTimeRecoveryPoint 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 AzureWorkloadPointInTimeRecoveryPoint 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.
-
-