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