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
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 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
LIVEstage 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 theLIVEstage 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
LIVEstage 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 theLIVEstage 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 theLIVEstage to associate them with a cache behavior.FunctionAssociation.Builderavoiding the need to create one manually viaFunctionAssociation.builder().When the
Consumercompletes,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:
-