Class ProtectionState


  • public final class ProtectionState
    extends com.azure.core.util.ExpandableStringEnum<ProtectionState>
    Defines values for ProtectionState.
    • Field Detail

      • 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.
    • Constructor Detail

      • ProtectionState

        public ProtectionState()
    • Method Detail

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