Enum Class HookTargetType

java.lang.Object
java.lang.Enum<HookTargetType>
software.amazon.cloudformation.proxy.hook.targetmodel.HookTargetType
All Implemented Interfaces:
Serializable, Comparable<HookTargetType>, Constable

public enum HookTargetType extends Enum<HookTargetType>
  • Enum Constant Details

    • GENERIC

      public static final HookTargetType GENERIC
      An agnostic target typed used when we do not know the type of a Hook's target. Typically, Hooks can support multiple target types which won't be known until runtime.
    • RESOURCE

      public static final HookTargetType RESOURCE
      A target model meant to represent a target for a Resource Hook. This model type will have properties specific to the resource type.
    • STACK

      public static final HookTargetType STACK
      A target model meant to represent a target for a Stack Hook. This model type will have properties specific to the stack type.
    • CHANGE_SET

      public static final HookTargetType CHANGE_SET
      A target model meant to represent a target for a stack Change Set Hook. This model type will have properties specific to the change set type.
  • Method Details

    • values

      public static HookTargetType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HookTargetType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null