public static interface CachedMethods.Builder extends CopyableBuilder<CachedMethods.Builder,CachedMethods>
Modifier and Type | Method and Description |
---|---|
CachedMethods.Builder |
items(Collection<Method> items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
|
CachedMethods.Builder |
items(Method... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
|
CachedMethods.Builder |
itemsWithStrings(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
|
CachedMethods.Builder |
itemsWithStrings(String... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
|
CachedMethods.Builder |
quantity(Integer quantity)
The number of HTTP methods for which you want CloudFront to cache responses.
|
copy
applyMutation, build
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).
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).CachedMethods.Builder itemsWithStrings(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.CachedMethods.Builder itemsWithStrings(String... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.CachedMethods.Builder items(Collection<Method> items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.CachedMethods.Builder items(Method... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.