Class CachedMethods

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.cloudfront.CachedMethods
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-06T23:25:05.430Z") @Stability(Stable) public class CachedMethods extends software.amazon.jsii.JsiiObject
The HTTP methods that the Behavior will cache requests on.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.cloudfront.*;
 CachedMethods cachedMethods = CachedMethods.CACHE_GET_HEAD;
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CachedMethods
    HEAD and GET.
    static final CachedMethods
    HEAD, GET, and OPTIONS.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    CachedMethods(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    CachedMethods(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    HTTP methods supported.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Field Details

    • CACHE_GET_HEAD

      @Stability(Stable) public static final CachedMethods CACHE_GET_HEAD
      HEAD and GET.
    • CACHE_GET_HEAD_OPTIONS

      @Stability(Stable) public static final CachedMethods CACHE_GET_HEAD_OPTIONS
      HEAD, GET, and OPTIONS.
  • Constructor Details

    • CachedMethods

      protected CachedMethods(software.amazon.jsii.JsiiObjectRef objRef)
    • CachedMethods

      protected CachedMethods(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • getMethods

      @Stability(Stable) @NotNull public List<String> getMethods()
      HTTP methods supported.