java.lang.Object
com.azure.core.util.ExpandableStringEnum<ReleaseDelay>
com.azure.messaging.eventgrid.namespaces.models.ReleaseDelay
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class ReleaseDelay extends com.azure.core.util.ExpandableStringEnum<ReleaseDelay>
Supported delays for release operation.
  • Field Details

    • NO_DELAY

      public static final ReleaseDelay NO_DELAY
      Release the event after 0 seconds.
    • TEN_SECONDS

      public static final ReleaseDelay TEN_SECONDS
      Release the event after 10 seconds.
    • ONE_MINUTE

      public static final ReleaseDelay ONE_MINUTE
      Release the event after 60 seconds.
    • TEN_MINUTES

      public static final ReleaseDelay TEN_MINUTES
      Release the event after 600 seconds.
    • ONE_HOUR

      public static final ReleaseDelay ONE_HOUR
      Release the event after 3600 seconds.
  • Constructor Details

    • ReleaseDelay

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

    • fromString

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

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