Enum DeliveryLocation
- java.lang.Object
-
- java.lang.Enum<DeliveryLocation>
-
- com.azure.resourcemanager.securityinsights.models.DeliveryLocation
-
- All Implemented Interfaces:
Serializable
,Comparable<DeliveryLocation>
public enum DeliveryLocation extends Enum<DeliveryLocation>
Defines values for DeliveryLocation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETED_FOLDER
Enum value DeletedFolder.DROPPED
Enum value Dropped.EXTERNAL
Enum value External.FAILED
Enum value Failed.FORWARDED
Enum value Forwarded.INBOX
Enum value Inbox.JUNK_FOLDER
Enum value JunkFolder.QUARANTINE
Enum value Quarantine.UNKNOWN
Enum value Unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeliveryLocation
fromString(String value)
Parses a serialized value to a DeliveryLocation instance.String
toString()
static DeliveryLocation
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeliveryLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final DeliveryLocation UNKNOWN
Enum value Unknown.
-
INBOX
public static final DeliveryLocation INBOX
Enum value Inbox.
-
JUNK_FOLDER
public static final DeliveryLocation JUNK_FOLDER
Enum value JunkFolder.
-
DELETED_FOLDER
public static final DeliveryLocation DELETED_FOLDER
Enum value DeletedFolder.
-
QUARANTINE
public static final DeliveryLocation QUARANTINE
Enum value Quarantine.
-
EXTERNAL
public static final DeliveryLocation EXTERNAL
Enum value External.
-
FAILED
public static final DeliveryLocation FAILED
Enum value Failed.
-
DROPPED
public static final DeliveryLocation DROPPED
Enum value Dropped.
-
FORWARDED
public static final DeliveryLocation FORWARDED
Enum value Forwarded.
-
-
Method Detail
-
values
public static DeliveryLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeliveryLocation c : DeliveryLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeliveryLocation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static DeliveryLocation fromString(String value)
Parses a serialized value to a DeliveryLocation instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed DeliveryLocation object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<DeliveryLocation>
-
-