Class RecoveryPointTierInformationV2
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierInformation
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierInformationV2
RecoveryPoint Tier Information V2.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RecoveryPointTierInformationV2 class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withExtendedInfo
(Map<String, String> extendedInfo) Set the extendedInfo property: Recovery point tier status.withStatus
(RecoveryPointTierStatus status) Set the status property: Recovery point tier status.Set the type property: Recovery point tier type.Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPointTierInformation
extendedInfo, status, type
-
Constructor Details
-
RecoveryPointTierInformationV2
public RecoveryPointTierInformationV2()Creates an instance of RecoveryPointTierInformationV2 class.
-
-
Method Details
-
withType
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
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
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.
-