Interface CachedMethods.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CachedMethods.Builder,CachedMethods>, SdkBuilder<CachedMethods.Builder,CachedMethods>, SdkPojo
Enclosing class:
CachedMethods

public static interface CachedMethods.Builder extends SdkPojo, CopyableBuilder<CachedMethods.Builder,CachedMethods>
  • Method Details

    • quantity

      CachedMethods.Builder quantity(Integer quantity)

      The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests).

      Parameters:
      quantity - The number of HTTP methods for which you want CloudFront to cache responses. Valid values are 2 (for caching responses to GET and HEAD requests) and 3 (for caching responses to GET, HEAD, and OPTIONS requests).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • itemsWithStrings

      CachedMethods.Builder itemsWithStrings(Collection<String> items)

      A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.

      Parameters:
      items - A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • itemsWithStrings

      CachedMethods.Builder itemsWithStrings(String... items)

      A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.

      Parameters:
      items - A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.

      Parameters:
      items - A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      CachedMethods.Builder items(Method... items)

      A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.

      Parameters:
      items - A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for CachedMethods include GET, HEAD, and OPTIONS, depending on which caching option you choose. For more information, see the preceding section.
      Returns:
      Returns a reference to this object so that method calls can be chained together.