public enum HookTargetType extends Enum<HookTargetType>
| Enum Constant and Description |
|---|
GENERIC
An agnostic target typed used when we do not know the type of a Hook's
target.
|
RESOURCE
A target model meant to represent a target for a Resource Hook.
|
| Modifier and Type | Method and Description |
|---|---|
static HookTargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HookTargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HookTargetType GENERIC
public static final HookTargetType RESOURCE
public static HookTargetType[] values()
for (HookTargetType c : HookTargetType.values()) System.out.println(c);
public static HookTargetType 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 nullCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.