Class GenericRecoveryPoint
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.GenericRecoveryPoint
Generic backup copy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the friendlyName property: Friendly name of the backup copy.Get the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.Get the recoveryPointProperties property: Properties of Recovery Point.Get the recoveryPointTime property: Time at which this backup copy was created.Get the recoveryPointType property: Type of the backup copy.void
validate()
Validates the instance.withFriendlyName
(String friendlyName) Set the friendlyName property: Friendly name of the backup copy.withRecoveryPointAdditionalInfo
(String recoveryPointAdditionalInfo) Set the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.withRecoveryPointProperties
(RecoveryPointProperties recoveryPointProperties) Set the recoveryPointProperties property: Properties of Recovery Point.withRecoveryPointTime
(OffsetDateTime recoveryPointTime) Set the recoveryPointTime property: Time at which this backup copy was created.withRecoveryPointType
(String recoveryPointType) Set the recoveryPointType property: Type of the backup copy.
-
Constructor Details
-
GenericRecoveryPoint
public GenericRecoveryPoint()Creates an instance of GenericRecoveryPoint class.
-
-
Method Details
-
friendlyName
Get the friendlyName property: Friendly name of the backup copy.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of the backup copy.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the GenericRecoveryPoint object itself.
-
recoveryPointType
Get the recoveryPointType property: Type of the backup copy.- Returns:
- the recoveryPointType value.
-
withRecoveryPointType
Set the recoveryPointType property: Type of the backup copy.- Parameters:
recoveryPointType
- the recoveryPointType value to set.- Returns:
- the GenericRecoveryPoint object itself.
-
recoveryPointTime
Get the recoveryPointTime property: Time at which this backup copy was created.- Returns:
- the recoveryPointTime value.
-
withRecoveryPointTime
Set the recoveryPointTime property: Time at which this backup copy was created.- Parameters:
recoveryPointTime
- the recoveryPointTime value to set.- Returns:
- the GenericRecoveryPoint object itself.
-
recoveryPointAdditionalInfo
Get the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.- Returns:
- the recoveryPointAdditionalInfo value.
-
withRecoveryPointAdditionalInfo
Set the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.- Parameters:
recoveryPointAdditionalInfo
- the recoveryPointAdditionalInfo value to set.- Returns:
- the GenericRecoveryPoint object itself.
-
recoveryPointProperties
Get the recoveryPointProperties property: Properties of Recovery Point.- Returns:
- the recoveryPointProperties value.
-
withRecoveryPointProperties
public GenericRecoveryPoint withRecoveryPointProperties(RecoveryPointProperties recoveryPointProperties) Set the recoveryPointProperties property: Properties of Recovery Point.- Parameters:
recoveryPointProperties
- the recoveryPointProperties value to set.- Returns:
- the GenericRecoveryPoint object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-