Interface LambdaFunctionAssociations.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaFunctionAssociations.Builder,
,LambdaFunctionAssociations> SdkBuilder<LambdaFunctionAssociations.Builder,
,LambdaFunctionAssociations> SdkPojo
- Enclosing class:
LambdaFunctionAssociations
public static interface LambdaFunctionAssociations.Builder
extends SdkPojo, CopyableBuilder<LambdaFunctionAssociations.Builder,LambdaFunctionAssociations>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<LambdaFunctionAssociation> items) Optional: A complex type that containsLambdaFunctionAssociation
items for this cache behavior.items
(Consumer<LambdaFunctionAssociation.Builder>... items) Optional: A complex type that containsLambdaFunctionAssociation
items for this cache behavior.items
(LambdaFunctionAssociation... items) Optional: A complex type that containsLambdaFunctionAssociation
items for this cache behavior.The number of Lambda@Edge function associations for this cache behavior.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 Lambda@Edge function associations for this cache behavior.
- Parameters:
quantity
- The number of Lambda@Edge function associations for this cache behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Optional: A complex type that contains
LambdaFunctionAssociation
items for this cache behavior. IfQuantity
is0
, you can omitItems
.- Parameters:
items
- Optional: A complex type that containsLambdaFunctionAssociation
items for this cache behavior. IfQuantity
is0
, you can omitItems
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Optional: A complex type that contains
LambdaFunctionAssociation
items for this cache behavior. IfQuantity
is0
, you can omitItems
.- Parameters:
items
- Optional: A complex type that containsLambdaFunctionAssociation
items for this cache behavior. IfQuantity
is0
, you can omitItems
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Optional: A complex type that contains
This is a convenience method that creates an instance of theLambdaFunctionAssociation
items for this cache behavior. IfQuantity
is0
, you can omitItems
.LambdaFunctionAssociation.Builder
avoiding the need to create one manually viaLambdaFunctionAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<LambdaFunctionAssociation>)
.- Parameters:
items
- a consumer that will call methods onLambdaFunctionAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-