Interface FunctionAssociations.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionAssociations.Builder,FunctionAssociations>
,SdkBuilder<FunctionAssociations.Builder,FunctionAssociations>
,SdkPojo
- Enclosing class:
- FunctionAssociations
public static interface FunctionAssociations.Builder extends SdkPojo, CopyableBuilder<FunctionAssociations.Builder,FunctionAssociations>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionAssociations.Builder
items(Collection<FunctionAssociation> items)
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.FunctionAssociations.Builder
items(Consumer<FunctionAssociation.Builder>... items)
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.FunctionAssociations.Builder
items(FunctionAssociation... items)
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution.FunctionAssociations.Builder
quantity(Integer quantity)
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 Detail
-
quantity
FunctionAssociations.Builder quantity(Integer 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
FunctionAssociations.Builder items(Collection<FunctionAssociation> items)
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront 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. CloudFront 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
FunctionAssociations.Builder items(FunctionAssociation... items)
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront 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. CloudFront 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
FunctionAssociations.Builder items(Consumer<FunctionAssociation.Builder>... items)
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. CloudFront 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 to#items(List
.) - 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:
#items(java.util.Collection
)
-
-