Interface FunctionAssociations.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionAssociations.Builder,
,FunctionAssociations> SdkBuilder<FunctionAssociations.Builder,
,FunctionAssociations> SdkPojo
- Enclosing class:
FunctionAssociations
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<FunctionAssociation> items) The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.items
(Consumer<FunctionAssociation.Builder>... items) The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.items
(FunctionAssociation... items) The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.The number of CloudFront functions in the list.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 Details
-
quantity
The number of CloudFront functions in the list.
- Parameters:
quantity
- The number of CloudFront functions in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the
LIVE
stage to associate them with a cache behavior.- Parameters:
items
- The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to theLIVE
stage to associate them with a cache behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the
LIVE
stage to associate them with a cache behavior.- Parameters:
items
- The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to theLIVE
stage to associate them with a cache behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the
This is a convenience method that creates an instance of theLIVE
stage to associate them with a cache behavior.FunctionAssociation.Builder
avoiding the need to create one manually viaFunctionAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<FunctionAssociation>)
.- Parameters:
items
- a consumer that will call methods onFunctionAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-