Class AzureFileShareRecoveryPoint
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareRecoveryPoint
Azure File Share workload specific backup copy.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureFileShareRecoveryPoint class. -
Method Summary
Modifier and TypeMethodDescriptionGet the fileShareSnapshotUri property: Contains Url to the snapshot of fileshare, if applicable.Get the recoveryPointProperties property: Properties of Recovery Point.Get the recoveryPointSizeInGB property: Contains recovery point size.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.withFileShareSnapshotUri
(String fileShareSnapshotUri) Set the fileShareSnapshotUri property: Contains Url to the snapshot of fileshare, if applicable.withRecoveryPointProperties
(RecoveryPointProperties recoveryPointProperties) Set the recoveryPointProperties property: Properties of Recovery Point.withRecoveryPointSizeInGB
(Integer recoveryPointSizeInGB) Set the recoveryPointSizeInGB property: Contains recovery point size.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
-
AzureFileShareRecoveryPoint
public AzureFileShareRecoveryPoint()Creates an instance of AzureFileShareRecoveryPoint class.
-
-
Method Details
-
recoveryPointType
Get the recoveryPointType property: Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.- Returns:
- the recoveryPointType value.
-
withRecoveryPointType
Set the recoveryPointType property: Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.- Parameters:
recoveryPointType
- the recoveryPointType value to set.- Returns:
- the AzureFileShareRecoveryPoint 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 AzureFileShareRecoveryPoint object itself.
-
recoveryPointSizeInGB
Get the recoveryPointSizeInGB property: Contains recovery point size.- Returns:
- the recoveryPointSizeInGB value.
-
withRecoveryPointSizeInGB
Set the recoveryPointSizeInGB property: Contains recovery point size.- Parameters:
recoveryPointSizeInGB
- the recoveryPointSizeInGB value to set.- Returns:
- the AzureFileShareRecoveryPoint object itself.
-
recoveryPointProperties
Get the recoveryPointProperties property: Properties of Recovery Point.- Returns:
- the recoveryPointProperties value.
-
withRecoveryPointProperties
public AzureFileShareRecoveryPoint withRecoveryPointProperties(RecoveryPointProperties recoveryPointProperties) Set the recoveryPointProperties property: Properties of Recovery Point.- Parameters:
recoveryPointProperties
- the recoveryPointProperties value to set.- Returns:
- the AzureFileShareRecoveryPoint object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classRecoveryPoint
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-