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 Details

    • AzureFileShareRecoveryPoint

      public AzureFileShareRecoveryPoint()
      Creates an instance of AzureFileShareRecoveryPoint class.
  • Method Details

    • 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.
    • recoveryPointProperties

      public RecoveryPointProperties 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 class RecoveryPoint
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.