Interface LambdaFunctionAssociations.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<LambdaFunctionAssociations.Builder,,- LambdaFunctionAssociations> - SdkBuilder<LambdaFunctionAssociations.Builder,,- LambdaFunctionAssociations> - SdkPojo
- Enclosing class:
- LambdaFunctionAssociations
@Mutable
@NotThreadSafe
public static interface LambdaFunctionAssociations.Builder
extends SdkPojo, CopyableBuilder<LambdaFunctionAssociations.Builder,LambdaFunctionAssociations> 
- 
Method SummaryModifier and TypeMethodDescriptionitems(Collection<LambdaFunctionAssociation> items) Optional: A complex type that containsLambdaFunctionAssociationitems for this cache behavior.items(Consumer<LambdaFunctionAssociation.Builder>... items) Optional: A complex type that containsLambdaFunctionAssociationitems for this cache behavior.items(LambdaFunctionAssociation... items) Optional: A complex type that containsLambdaFunctionAssociationitems for this cache behavior.The number of Lambda@Edge function associations for this cache behavior.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 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.
 
- 
itemsOptional: A complex type that contains LambdaFunctionAssociationitems for this cache behavior. IfQuantityis0, you can omitItems.- Parameters:
- items- Optional: A complex type that contains- LambdaFunctionAssociationitems for this cache behavior. If- Quantityis- 0, you can omit- Items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsOptional: A complex type that contains LambdaFunctionAssociationitems for this cache behavior. IfQuantityis0, you can omitItems.- Parameters:
- items- Optional: A complex type that contains- LambdaFunctionAssociationitems for this cache behavior. If- Quantityis- 0, you can omit- Items.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
itemsOptional: A complex type that contains This is a convenience method that creates an instance of theLambdaFunctionAssociationitems for this cache behavior. IfQuantityis0, you can omitItems.LambdaFunctionAssociation.Builderavoiding the need to create one manually viaLambdaFunctionAssociation.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<LambdaFunctionAssociation>).- Parameters:
- items- a consumer that will call methods on- LambdaFunctionAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-