Class AzureFileShareRecoveryPoint
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.RecoveryPoint
-
- com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileShareRecoveryPoint
-
public final class AzureFileShareRecoveryPoint extends RecoveryPoint
Azure File Share workload specific backup copy.
-
-
Constructor Summary
Constructors Constructor Description AzureFileShareRecoveryPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
fileShareSnapshotUri()
Get the fileShareSnapshotUri property: Contains Url to the snapshot of fileshare, if applicable.Integer
recoveryPointSizeInGB()
Get the recoveryPointSizeInGB property: Contains recovery point size.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.AzureFileShareRecoveryPoint
withFileShareSnapshotUri(String fileShareSnapshotUri)
Set the fileShareSnapshotUri property: Contains Url to the snapshot of fileshare, if applicable.AzureFileShareRecoveryPoint
withRecoveryPointSizeInGB(Integer recoveryPointSizeInGB)
Set the recoveryPointSizeInGB property: Contains recovery point size.AzureFileShareRecoveryPoint
withRecoveryPointTime(OffsetDateTime recoveryPointTime)
Set the recoveryPointTime property: Time at which this backup copy was created.AzureFileShareRecoveryPoint
withRecoveryPointType(String recoveryPointType)
Set the recoveryPointType property: Type of the backup copy.
-
-
-
Method Detail
-
recoveryPointType
public String 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
public AzureFileShareRecoveryPoint withRecoveryPointType(String recoveryPointType)
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
public OffsetDateTime recoveryPointTime()
Get the recoveryPointTime property: Time at which this backup copy was created.- Returns:
- the recoveryPointTime value.
-
withRecoveryPointTime
public AzureFileShareRecoveryPoint withRecoveryPointTime(OffsetDateTime recoveryPointTime)
Set the recoveryPointTime property: Time at which this backup copy was created.- Parameters:
recoveryPointTime
- the recoveryPointTime value to set.- Returns:
- the AzureFileShareRecoveryPoint object itself.
-
fileShareSnapshotUri
public String fileShareSnapshotUri()
Get the fileShareSnapshotUri property: Contains Url to the snapshot of fileshare, if applicable.- Returns:
- the fileShareSnapshotUri value.
-
withFileShareSnapshotUri
public AzureFileShareRecoveryPoint withFileShareSnapshotUri(String fileShareSnapshotUri)
Set the fileShareSnapshotUri property: Contains Url to the snapshot of fileshare, if applicable.- Parameters:
fileShareSnapshotUri
- the fileShareSnapshotUri value to set.- Returns:
- the AzureFileShareRecoveryPoint object itself.
-
recoveryPointSizeInGB
public Integer recoveryPointSizeInGB()
Get the recoveryPointSizeInGB property: Contains recovery point size.- Returns:
- the recoveryPointSizeInGB value.
-
withRecoveryPointSizeInGB
public AzureFileShareRecoveryPoint withRecoveryPointSizeInGB(Integer recoveryPointSizeInGB)
Set the recoveryPointSizeInGB property: Contains recovery point size.- Parameters:
recoveryPointSizeInGB
- the recoveryPointSizeInGB 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.
-
-