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

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:44:19.766Z") @Stability(Stable) public enum HttpMethods extends Enum<HttpMethods>
Method type of a EKS call.

Example:

 import software.amazon.awscdk.services.eks.*;
 Cluster myEksCluster = Cluster.Builder.create(this, "my sample cluster")
         .version(KubernetesVersion.V1_18)
         .clusterName("myEksCluster")
         .build();
 EksCall.Builder.create(this, "Call a EKS Endpoint")
         .cluster(myEksCluster)
         .httpMethod(HttpMethods.GET)
         .httpPath("/api/v1/namespaces/default/pods")
         .build();
 
  • Enum Constant Details

    • GET

      @Stability(Stable) public static final HttpMethods GET
      Retrieve data from a server at the specified resource.
    • POST

      @Stability(Stable) public static final HttpMethods POST
      Send data to the API endpoint to create or update a resource.
    • PUT

      @Stability(Stable) public static final HttpMethods PUT
      Send data to the API endpoint to update or create a resource.
    • DELETE

      @Stability(Stable) public static final HttpMethods DELETE
      Delete the resource at the specified endpoint.
    • PATCH

      @Stability(Stable) public static final HttpMethods PATCH
      Apply partial modifications to the resource.
  • Method Details

    • values

      public static HttpMethods[] 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 HttpMethods 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