Class AzureFileshareProtectedItemExtendedInfo

java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.AzureFileshareProtectedItemExtendedInfo

public final class AzureFileshareProtectedItemExtendedInfo extends Object
Additional information about Azure File Share backup item.
  • Constructor Details

    • AzureFileshareProtectedItemExtendedInfo

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

    • oldestRecoveryPoint

      public OffsetDateTime oldestRecoveryPoint()
      Get the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.
      Returns:
      the oldestRecoveryPoint value.
    • withOldestRecoveryPoint

      public AzureFileshareProtectedItemExtendedInfo withOldestRecoveryPoint(OffsetDateTime oldestRecoveryPoint)
      Set the oldestRecoveryPoint property: The oldest backup copy available for this item in the service.
      Parameters:
      oldestRecoveryPoint - the oldestRecoveryPoint value to set.
      Returns:
      the AzureFileshareProtectedItemExtendedInfo object itself.
    • recoveryPointCount

      public Integer recoveryPointCount()
      Get the recoveryPointCount property: Number of available backup copies associated with this backup item.
      Returns:
      the recoveryPointCount value.
    • withRecoveryPointCount

      public AzureFileshareProtectedItemExtendedInfo withRecoveryPointCount(Integer recoveryPointCount)
      Set the recoveryPointCount property: Number of available backup copies associated with this backup item.
      Parameters:
      recoveryPointCount - the recoveryPointCount value to set.
      Returns:
      the AzureFileshareProtectedItemExtendedInfo object itself.
    • policyState

      public String policyState()
      Get the policyState property: Indicates consistency of policy object and policy applied to this backup item.
      Returns:
      the policyState value.
    • withPolicyState

      public AzureFileshareProtectedItemExtendedInfo withPolicyState(String policyState)
      Set the policyState property: Indicates consistency of policy object and policy applied to this backup item.
      Parameters:
      policyState - the policyState value to set.
      Returns:
      the AzureFileshareProtectedItemExtendedInfo object itself.
    • resourceState

      public String resourceState()
      Get the resourceState property: Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}.
      Returns:
      the resourceState value.
    • resourceStateSyncTime

      public OffsetDateTime resourceStateSyncTime()
      Get the resourceStateSyncTime property: The resource state sync time for this backup item.
      Returns:
      the resourceStateSyncTime value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.