public static interface CachedMethods.Builder extends CopyableBuilder<CachedMethods.Builder,CachedMethods>
| Modifier and Type | Method and Description |
|---|---|
CachedMethods.Builder |
items(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
|
CachedMethods.Builder |
items(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.
|
copyapply, buildCachedMethods.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 items(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 items(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.