Class RecoveryPointTierInformationV2
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierInformation
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierInformationV2
-
public final class RecoveryPointTierInformationV2 extends RecoveryPointTierInformation
RecoveryPoint Tier Information V2.
-
-
Constructor Summary
Constructors Constructor Description RecoveryPointTierInformationV2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.RecoveryPointTierInformationV2
withExtendedInfo(Map<String,String> extendedInfo)
Set the extendedInfo property: Recovery point tier status.RecoveryPointTierInformationV2
withStatus(RecoveryPointTierStatus status)
Set the status property: Recovery point tier status.RecoveryPointTierInformationV2
withType(RecoveryPointTierType type)
Set the type property: Recovery point tier type.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierInformation
extendedInfo, status, type
-
-
-
-
Method Detail
-
withType
public RecoveryPointTierInformationV2 withType(RecoveryPointTierType type)
Set the type property: Recovery point tier type.- Overrides:
withType
in classRecoveryPointTierInformation
- Parameters:
type
- the type value to set.- Returns:
- the RecoveryPointTierInformation object itself.
-
withStatus
public RecoveryPointTierInformationV2 withStatus(RecoveryPointTierStatus status)
Set the status property: Recovery point tier status.- Overrides:
withStatus
in classRecoveryPointTierInformation
- Parameters:
status
- the status value to set.- Returns:
- the RecoveryPointTierInformation object itself.
-
withExtendedInfo
public RecoveryPointTierInformationV2 withExtendedInfo(Map<String,String> extendedInfo)
Set the extendedInfo property: Recovery point tier status.- Overrides:
withExtendedInfo
in classRecoveryPointTierInformation
- Parameters:
extendedInfo
- the extendedInfo value to set.- Returns:
- the RecoveryPointTierInformation object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classRecoveryPointTierInformation
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-