java.lang.Object
com.azure.core.util.ExpandableStringEnum<ProtectionState>
com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionState

public final class ProtectionState extends com.azure.core.util.ExpandableStringEnum<ProtectionState>
Backup state of this backup item.
  • Field Details

    • INVALID

      public static final ProtectionState INVALID
      Static value Invalid for ProtectionState.
    • IRPENDING

      public static final ProtectionState IRPENDING
      Static value IRPending for ProtectionState.
    • PROTECTED

      public static final ProtectionState PROTECTED
      Static value Protected for ProtectionState.
    • PROTECTION_ERROR

      public static final ProtectionState PROTECTION_ERROR
      Static value ProtectionError for ProtectionState.
    • PROTECTION_STOPPED

      public static final ProtectionState PROTECTION_STOPPED
      Static value ProtectionStopped for ProtectionState.
    • PROTECTION_PAUSED

      public static final ProtectionState PROTECTION_PAUSED
      Static value ProtectionPaused for ProtectionState.
    • BACKUPS_SUSPENDED

      public static final ProtectionState BACKUPS_SUSPENDED
      Static value BackupsSuspended for ProtectionState.
  • Constructor Details

    • ProtectionState

      @Deprecated public ProtectionState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of ProtectionState value.
  • Method Details

    • fromString

      public static ProtectionState fromString(String name)
      Creates or finds a ProtectionState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding ProtectionState.
    • values

      public static Collection<ProtectionState> values()
      Gets known ProtectionState values.
      Returns:
      known ProtectionState values.