Class AzureWorkloadRecoveryPoint
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.AzureWorkloadRecoveryPoint
- Direct Known Subclasses:
AzureWorkloadPointInTimeRecoveryPoint
,AzureWorkloadSapHanaRecoveryPoint
,AzureWorkloadSqlRecoveryPoint
Workload specific recovery point, specifically encapsulates full/diff recovery point.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureWorkloadRecoveryPoint class. -
Method Summary
Modifier and TypeMethodDescriptionGet the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.Get the recoveryPointTierDetails property: Recovery point tier information.Get the recoveryPointTimeInUtc property: UTC time at which recovery point was created.type()
Get the type property: Type of restore point.void
validate()
Validates the instance.withRecoveryPointMoveReadinessInfo
(Map<String, RecoveryPointMoveReadinessInfo> recoveryPointMoveReadinessInfo) Set the recoveryPointMoveReadinessInfo property: Eligibility of RP to be moved to another tier.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.withType
(RestorePointType type) Set the type property: Type of restore point.
-
Constructor Details
-
AzureWorkloadRecoveryPoint
public AzureWorkloadRecoveryPoint()Creates an instance of AzureWorkloadRecoveryPoint class.
-
-
Method Details
-
recoveryPointTimeInUtc
Get the recoveryPointTimeInUtc property: UTC time at which recovery point was created.- Returns:
- the recoveryPointTimeInUtc value.
-
withRecoveryPointTimeInUtc
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
Get the type property: Type of restore point.- Returns:
- the type value.
-
withType
Set the type property: Type of restore point.- Parameters:
type
- the type value to set.- Returns:
- the AzureWorkloadRecoveryPoint object itself.
-
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
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.
-