Enum HttpMethod

java.lang.Object
java.lang.Enum<HttpMethod>
software.amazon.awscdk.services.events.HttpMethod
All Implemented Interfaces:
Serializable, Comparable<HttpMethod>, java.lang.constant.Constable

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:02.231Z") @Stability(Stable) public enum HttpMethod extends Enum<HttpMethod>
Supported HTTP operations.
  • Enum Constant Details

    • POST

      @Stability(Stable) public static final HttpMethod POST
      POST.
    • GET

      @Stability(Stable) public static final HttpMethod GET
      GET.
    • OPTIONS

      @Stability(Stable) public static final HttpMethod OPTIONS
      OPTIONS.
    • PUT

      @Stability(Stable) public static final HttpMethod PUT
      PUT.
    • PATCH

      @Stability(Stable) public static final HttpMethod PATCH
      PATCH.
    • DELETE

      @Stability(Stable) public static final HttpMethod DELETE
      DELETE.
  • Method Details

    • values

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

      public static HttpMethod 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 name
      NullPointerException - if the argument is null