Class AzureWorkloadRecoveryPoint
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
-
- Direct Known Subclasses:
AzureWorkloadPointInTimeRecoveryPoint
,AzureWorkloadSapHanaRecoveryPoint
,AzureWorkloadSqlRecoveryPoint
public class AzureWorkloadRecoveryPoint extends RecoveryPoint
Workload specific recovery point, specifically encapsulates full/diff recovery point.
-
-
Constructor Summary
Constructors Constructor Description AzureWorkloadRecoveryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,RecoveryPointMoveReadinessInfo>
recoveryPointMoveReadinessInfo()
Get the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.List<RecoveryPointTierInformationV2>
recoveryPointTierDetails()
Get the recoveryPointTierDetails property: Recovery point tier information.OffsetDateTime
recoveryPointTimeInUtc()
Get the recoveryPointTimeInUtc property: UTC time at which recovery point was created.RestorePointType
type()
Get the type property: Type of restore point.void
validate()
Validates the instance.AzureWorkloadRecoveryPoint
withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.AzureWorkloadRecoveryPoint
withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
Set the recoveryPointTierDetails property: Recovery point tier information.AzureWorkloadRecoveryPoint
withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.AzureWorkloadRecoveryPoint
withType(RestorePointType type)
Set the type property: Type of restore point.
-
-
-
Method Detail
-
recoveryPointTimeInUtc
public OffsetDateTime recoveryPointTimeInUtc()
Get the recoveryPointTimeInUtc property: UTC time at which recovery point was created.- Returns:
- the recoveryPointTimeInUtc value.
-
withRecoveryPointTimeInUtc
public AzureWorkloadRecoveryPoint withRecoveryPointTimeInUtc(OffsetDateTime recoveryPointTimeInUtc)
Set the recoveryPointTimeInUtc property: UTC time at which recovery point was created.- Parameters:
recoveryPointTimeInUtc
- the recoveryPointTimeInUtc value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
type
public RestorePointType type()
Get the type property: Type of restore point.- Returns:
- the type value.
-
withType
public AzureWorkloadRecoveryPoint withType(RestorePointType type)
Set the type property: Type of restore point.- Parameters:
type
- the type value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
recoveryPointTierDetails
public List<RecoveryPointTierInformationV2> recoveryPointTierDetails()
Get the recoveryPointTierDetails property: Recovery point tier information.- Returns:
- the recoveryPointTierDetails value.
-
withRecoveryPointTierDetails
public AzureWorkloadRecoveryPoint withRecoveryPointTierDetails(List<RecoveryPointTierInformationV2> recoveryPointTierDetails)
Set the recoveryPointTierDetails property: Recovery point tier information.- Parameters:
recoveryPointTierDetails
- the recoveryPointTierDetails value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
recoveryPointMoveReadinessInfo
public Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo()
Get the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.- Returns:
- the recoveryPointMoveReadinessInfo value.
-
withRecoveryPointMoveReadinessInfo
public AzureWorkloadRecoveryPoint withRecoveryPointMoveReadinessInfo(Map<String,RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo)
Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.- Parameters:
recoveryPointMoveReadinessInfo
- the recoveryPointMoveReadinessInfo value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-