Interface CachedMethods.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CachedMethods.Builder,,CachedMethods> SdkBuilder<CachedMethods.Builder,,CachedMethods> SdkPojo
- Enclosing class:
CachedMethods
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<Method> items) A complex type that contains the HTTP methods that you want CloudFront to cache responses to.A complex type that contains the HTTP methods that you want CloudFront to cache responses to.itemsWithStrings(String... items) A complex type that contains the HTTP methods that you want CloudFront to cache responses to.itemsWithStrings(Collection<String> items) A complex type that contains the HTTP methods that you want CloudFront to cache responses to.The number of HTTP methods for which you want CloudFront to cache responses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
quantity
The number of HTTP methods for which you want CloudFront to cache responses. Valid values are
2(for caching responses toGETandHEADrequests) and3(for caching responses toGET,HEAD, andOPTIONSrequests).- Parameters:
quantity- The number of HTTP methods for which you want CloudFront to cache responses. Valid values are2(for caching responses toGETandHEADrequests) and3(for caching responses toGET,HEAD, andOPTIONSrequests).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemsWithStrings
A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for
CachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Parameters:
items- A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values forCachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
itemsWithStrings
A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for
CachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Parameters:
items- A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values forCachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for
CachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Parameters:
items- A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values forCachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values for
CachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Parameters:
items- A complex type that contains the HTTP methods that you want CloudFront to cache responses to. Valid values forCachedMethodsincludeGET,HEAD, andOPTIONS, depending on which caching option you choose. For more information, see the preceding section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-