public static enum CreateInboxRulesetOptions.ActionEnum extends Enum<CreateInboxRulesetOptions.ActionEnum>
Modifier and Type | Class and Description |
---|---|
static class |
CreateInboxRulesetOptions.ActionEnum.Adapter |
Enum Constant and Description |
---|
ALLOW |
BLOCK |
FILTER_REMOVE |
Modifier and Type | Method and Description |
---|---|
static CreateInboxRulesetOptions.ActionEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static CreateInboxRulesetOptions.ActionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateInboxRulesetOptions.ActionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateInboxRulesetOptions.ActionEnum BLOCK
public static final CreateInboxRulesetOptions.ActionEnum ALLOW
public static final CreateInboxRulesetOptions.ActionEnum FILTER_REMOVE
public static CreateInboxRulesetOptions.ActionEnum[] values()
for (CreateInboxRulesetOptions.ActionEnum c : CreateInboxRulesetOptions.ActionEnum.values()) System.out.println(c);
public static CreateInboxRulesetOptions.ActionEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<CreateInboxRulesetOptions.ActionEnum>
public static CreateInboxRulesetOptions.ActionEnum fromValue(String value)
Copyright © 2023. All rights reserved.