Class GenericRecoveryPoint
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.GenericRecoveryPoint
-
public final class GenericRecoveryPoint extends RecoveryPoint
Generic backup copy.
-
-
Constructor Summary
Constructors Constructor Description GenericRecoveryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
friendlyName()
Get the friendlyName property: Friendly name of the backup copy.String
recoveryPointAdditionalInfo()
Get the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.OffsetDateTime
recoveryPointTime()
Get the recoveryPointTime property: Time at which this backup copy was created.String
recoveryPointType()
Get the recoveryPointType property: Type of the backup copy.void
validate()
Validates the instance.GenericRecoveryPoint
withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup copy.GenericRecoveryPoint
withRecoveryPointAdditionalInfo(String recoveryPointAdditionalInfo)
Set the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.GenericRecoveryPoint
withRecoveryPointTime(OffsetDateTime recoveryPointTime)
Set the recoveryPointTime property: Time at which this backup copy was created.GenericRecoveryPoint
withRecoveryPointType(String recoveryPointType)
Set the recoveryPointType property: Type of the backup copy.
-
-
-
Method Detail
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of the backup copy.- Returns:
- the friendlyName value.
-
withFriendlyName
public GenericRecoveryPoint withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of the backup copy.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the GenericRecoveryPoint object itself.
-
recoveryPointType
public String recoveryPointType()
Get the recoveryPointType property: Type of the backup copy.- Returns:
- the recoveryPointType value.
-
withRecoveryPointType
public GenericRecoveryPoint withRecoveryPointType(String recoveryPointType)
Set the recoveryPointType property: Type of the backup copy.- Parameters:
recoveryPointType
- the recoveryPointType value to set.- Returns:
- the GenericRecoveryPoint object itself.
-
recoveryPointTime
public OffsetDateTime recoveryPointTime()
Get the recoveryPointTime property: Time at which this backup copy was created.- Returns:
- the recoveryPointTime value.
-
withRecoveryPointTime
public GenericRecoveryPoint withRecoveryPointTime(OffsetDateTime recoveryPointTime)
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
public String recoveryPointAdditionalInfo()
Get the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.- Returns:
- the recoveryPointAdditionalInfo value.
-
withRecoveryPointAdditionalInfo
public GenericRecoveryPoint withRecoveryPointAdditionalInfo(String recoveryPointAdditionalInfo)
Set the recoveryPointAdditionalInfo property: Additional information associated with this backup copy.- Parameters:
recoveryPointAdditionalInfo
- the recoveryPointAdditionalInfo 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.
-
-