Class AzureWorkloadSapHanaPointInTimeRecoveryPoint
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadPointInTimeRecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadSapHanaPointInTimeRecoveryPoint
-
public final class AzureWorkloadSapHanaPointInTimeRecoveryPoint extends AzureWorkloadPointInTimeRecoveryPoint
Recovery point specific to PointInTime in SAPHana.
-
-
Constructor Summary
Constructors Constructor Description AzureWorkloadSapHanaPointInTimeRecoveryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AzureWorkloadSapHanaPointInTimeRecoveryPoint
withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.AzureWorkloadSapHanaPointInTimeRecoveryPoint
withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
Set the recoveryPointTierDetails property: Recovery point tier information.AzureWorkloadSapHanaPointInTimeRecoveryPoint
withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.AzureWorkloadSapHanaPointInTimeRecoveryPoint
withTimeRanges(List<PointInTimeRange> timeRanges)
Set the timeRanges property: List of log ranges.AzureWorkloadSapHanaPointInTimeRecoveryPoint
withType(RestorePointType type)
Set the type property: Type of restore point.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadPointInTimeRecoveryPoint
timeRanges
-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
recoveryPointMoveReadinessInfo, recoveryPointTierDetails, recoveryPointTimeInUtc, type
-
-
-
-
Method Detail
-
withTimeRanges
public AzureWorkloadSapHanaPointInTimeRecoveryPoint withTimeRanges(List<PointInTimeRange> timeRanges)
Set the timeRanges property: List of log ranges.- Overrides:
withTimeRanges
in classAzureWorkloadPointInTimeRecoveryPoint
- Parameters:
timeRanges
- the timeRanges value to set.- Returns:
- the AzureWorkloadPointInTimeRecoveryPoint object itself.
-
withRecoveryPointTimeInUtc
public AzureWorkloadSapHanaPointInTimeRecoveryPoint withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.- Overrides:
withRecoveryPointTimeInUtc
in classAzureWorkloadPointInTimeRecoveryPoint
- Parameters:
recoveryPointTimeInUtc
- the recoveryPointTimeInUtc value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withType
public AzureWorkloadSapHanaPointInTimeRecoveryPoint withType(RestorePointType type)
Set the type property: Type of restore point.- Overrides:
withType
in classAzureWorkloadPointInTimeRecoveryPoint
- Parameters:
type
- the type value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withRecoveryPointTierDetails
public AzureWorkloadSapHanaPointInTimeRecoveryPoint withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
Set the recoveryPointTierDetails property: Recovery point tier information.- Overrides:
withRecoveryPointTierDetails
in classAzureWorkloadPointInTimeRecoveryPoint
- Parameters:
recoveryPointTierDetails
- the recoveryPointTierDetails value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
withRecoveryPointMoveReadinessInfo
public AzureWorkloadSapHanaPointInTimeRecoveryPoint withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.- Overrides:
withRecoveryPointMoveReadinessInfo
in classAzureWorkloadPointInTimeRecoveryPoint
- Parameters:
recoveryPointMoveReadinessInfo
- the recoveryPointMoveReadinessInfo value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAzureWorkloadPointInTimeRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-