Class ReleaseDelay
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>
Supported delays for release operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ReleaseDelayRelease the event after 0 seconds.static final ReleaseDelayRelease the event after 3600 seconds.static final ReleaseDelayRelease the event after 60 seconds.static final ReleaseDelayRelease the event after 600 seconds.static final ReleaseDelayRelease the event after 10 seconds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReleaseDelayfromString(String name) Creates or finds a ReleaseDelay from its string representation.static Collection<ReleaseDelay> values()Gets known ReleaseDelay values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NO_DELAY
Release the event after 0 seconds. -
TEN_SECONDS
Release the event after 10 seconds. -
ONE_MINUTE
Release the event after 60 seconds. -
TEN_MINUTES
Release the event after 600 seconds. -
ONE_HOUR
Release the event after 3600 seconds.
-
-
Constructor Details
-
ReleaseDelay
Deprecated.Use thefromString(String)factory method.Creates a new instance of ReleaseDelay value.
-
-
Method Details
-
fromString
Creates or finds a ReleaseDelay from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ReleaseDelay.
-
values
Gets known ReleaseDelay values.- Returns:
- known ReleaseDelay values.
-
fromString(String)factory method.