public static interface AllowedMethods.Builder extends CopyableBuilder<AllowedMethods.Builder,AllowedMethods>
| Modifier and Type | Method and Description |
|---|---|
AllowedMethods.Builder |
cachedMethods(CachedMethods cachedMethods)
Sets the value of the CachedMethods property for this object.
|
default AllowedMethods.Builder |
cachedMethods(Consumer<CachedMethods.Builder> cachedMethods)
Sets the value of the CachedMethods property for this object.
|
AllowedMethods.Builder |
items(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
|
AllowedMethods.Builder |
items(String... items)
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
|
AllowedMethods.Builder |
quantity(Integer quantity)
The number of HTTP methods that you want CloudFront to forward to your origin.
|
copyapply, buildAllowedMethods.Builder quantity(Integer quantity)
The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for
GET and HEAD requests), 3 (for GET, HEAD, and
OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and
DELETE requests).
quantity - The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for
GET and HEAD requests), 3 (for GET, HEAD, and
OPTIONS requests) and 7 (for GET, HEAD, OPTIONS, PUT, PATCH, POST, and
DELETE requests).AllowedMethods.Builder items(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
items - A complex type that contains the HTTP methods that you want CloudFront to process and forward to your
origin.AllowedMethods.Builder items(String... items)
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
items - A complex type that contains the HTTP methods that you want CloudFront to process and forward to your
origin.AllowedMethods.Builder cachedMethods(CachedMethods cachedMethods)
cachedMethods - The new value for the CachedMethods property for this object.default AllowedMethods.Builder cachedMethods(Consumer<CachedMethods.Builder> cachedMethods)
CachedMethods.Builder avoiding the need to
create one manually via CachedMethods.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to cachedMethods(CachedMethods).cachedMethods - a consumer that will call methods on CachedMethods.BuildercachedMethods(CachedMethods)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.