CopyableBuilder<CachedMethods.Builder,CachedMethods>, SdkBuilder<CachedMethods.Builder,CachedMethods>public static interface CachedMethods.Builder extends CopyableBuilder<CachedMethods.Builder,CachedMethods>
| Modifier and Type | Method | Description |
|---|---|---|
CachedMethods.Builder |
items(String... items) |
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
|
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(Method... 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.MethodCachedMethods.Builder items(String... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
NOTE: This method appends the values to the existing list (if any). Use
#setItems(java.util.Collection) or #withItems(java.util.Collection) if you want to override
the existing values.
items - A complex type that contains the HTTP methods that you want CloudFront to cache responses to.MethodCachedMethods.Builder items(Method... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
NOTE: This method appends the values to the existing list (if any). Use
#setItems(java.util.Collection) or #withItems(java.util.Collection) if you want to override
the existing values.
items - A complex type that contains the HTTP methods that you want CloudFront to cache responses to.MethodCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.