@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-25T18:29:05.338Z") public enum ReceiptFilterPolicy extends java.lang.Enum<ReceiptFilterPolicy>
Enum Constant and Description |
---|
ALLOW
Allow the ip address or range.
|
BLOCK
Block the ip address or range.
|
Modifier and Type | Method and Description |
---|---|
static ReceiptFilterPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReceiptFilterPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReceiptFilterPolicy ALLOW
public static final ReceiptFilterPolicy BLOCK
public static ReceiptFilterPolicy[] values()
for (ReceiptFilterPolicy c : ReceiptFilterPolicy.values()) System.out.println(c);
public static ReceiptFilterPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null