Interface CachedMethods.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CachedMethods.Builder,CachedMethods>
,SdkBuilder<CachedMethods.Builder,CachedMethods>
,SdkPojo
- Enclosing class:
- CachedMethods
public static interface CachedMethods.Builder extends SdkPojo, CopyableBuilder<CachedMethods.Builder,CachedMethods>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CachedMethods.Builder
items(Collection<Method> 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
itemsWithStrings(String... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.CachedMethods.Builder
itemsWithStrings(Collection<String> 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
quantity
CachedMethods.Builder quantity(Integer quantity)
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are
2
(for caching responses toGET
andHEAD
requests) and3
(for caching responses toGET
,HEAD
, andOPTIONS
requests).- Parameters:
quantity
- The number of HTTP methods for which you want CloudFront to cache responses. Valid values are2
(for caching responses toGET
andHEAD
requests) and3
(for caching responses toGET
,HEAD
, andOPTIONS
requests).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemsWithStrings
CachedMethods.Builder itemsWithStrings(Collection<String> items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
- Parameters:
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemsWithStrings
CachedMethods.Builder itemsWithStrings(String... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
- Parameters:
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
CachedMethods.Builder items(Collection<Method> items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
- Parameters:
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
CachedMethods.Builder items(Method... items)
A complex type that contains the HTTP methods that you want CloudFront to cache responses to.
- Parameters:
items
- A complex type that contains the HTTP methods that you want CloudFront to cache responses to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-