public static interface AllowedMethods.Builder extends software.amazon.awssdk.utils.builder.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.
|
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(Method... 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.
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 items(Method... 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.Copyright © 2017. All rights reserved.