CopyableBuilder<AllowedMethods.Builder,AllowedMethods>, SdkBuilder<AllowedMethods.Builder,AllowedMethods>public static interface AllowedMethods.Builder extends CopyableBuilder<AllowedMethods.Builder,AllowedMethods>
| Modifier and Type | Method | Description |
|---|---|---|
AllowedMethods.Builder |
cachedMethods(CachedMethods cachedMethods) |
|
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(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 |
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.MethodAllowedMethods.Builder items(String... items)
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
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 process and forward to your
origin.MethodAllowedMethods.Builder items(Method... items)
A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
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 process and forward to your
origin.MethodAllowedMethods.Builder cachedMethods(CachedMethods cachedMethods)
cachedMethods - Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.