Interface AllowedMethods.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AllowedMethods.Builder,,- AllowedMethods> - SdkBuilder<AllowedMethods.Builder,,- AllowedMethods> - SdkPojo
- Enclosing class:
- AllowedMethods
- 
Method SummaryModifier and TypeMethodDescriptiondefault AllowedMethods.BuildercachedMethods(Consumer<CachedMethods.Builder> cachedMethods) Sets the value of the CachedMethods property for this object.cachedMethods(CachedMethods cachedMethods) Sets the value of the CachedMethods property for this object.items(Collection<Method> items) A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.itemsWithStrings(String... items) A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.itemsWithStrings(Collection<String> items) A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.The number of HTTP methods that you want CloudFront to forward to your origin.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
quantityThe number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for GETandHEADrequests), 3 (forGET,HEAD, andOPTIONSrequests) and 7 (forGET, HEAD, OPTIONS, PUT, PATCH, POST, andDELETErequests).- Parameters:
- quantity- The number of HTTP methods that you want CloudFront to forward to your origin. Valid values are 2 (for- GETand- HEADrequests), 3 (for- GET,- HEAD, and- OPTIONSrequests) and 7 (for- GET, HEAD, OPTIONS, PUT, PATCH, POST, and- DELETErequests).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsWithStringsA complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin. - Parameters:
- items- A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsWithStringsA complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin. - Parameters:
- items- A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsA complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin. - Parameters:
- items- A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsA complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin. - Parameters:
- items- A complex type that contains the HTTP methods that you want CloudFront to process and forward to your origin.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cachedMethodsSets the value of the CachedMethods property for this object.- Parameters:
- cachedMethods- The new value for the CachedMethods property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cachedMethodsSets the value of the CachedMethods property for this object. This is a convenience method that creates an instance of theCachedMethods.Builderavoiding the need to create one manually viaCachedMethods.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocachedMethods(CachedMethods).- Parameters:
- cachedMethods- a consumer that will call methods on- CachedMethods.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-