@Generated(value="software.amazon.awssdk:codegen") public class LambdaFunctionAssociations extends Object implements ToCopyableBuilder<LambdaFunctionAssociations.Builder,LambdaFunctionAssociations>
A complex type that specifies a list of Lambda functions associations for a cache behavior.
If you want to invoke one or more Lambda functions triggered by requests that match the PathPattern
of
the cache behavior, specify the applicable values for Quantity
and Items
. Note that there
can be up to 4 LambdaFunctionAssociation
items in this list (one for each possible value of
EventType
) and each EventType
can be associated with the Lambda function only once.
If you don't want to invoke any Lambda functions for the requests that match PathPattern
, specify
0
for Quantity
and omit Items
.
Modifier and Type | Class and Description |
---|---|
static interface |
LambdaFunctionAssociations.Builder |
Modifier and Type | Method and Description |
---|---|
static LambdaFunctionAssociations.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<LambdaFunctionAssociation> |
items()
Optional: A complex type that contains
LambdaFunctionAssociation items for this cache
behavior. |
Integer |
quantity()
The number of Lambda function associations for this cache behavior.
|
static Class<? extends LambdaFunctionAssociations.Builder> |
serializableBuilderClass() |
LambdaFunctionAssociations.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer quantity()
The number of Lambda function associations for this cache behavior.
public List<LambdaFunctionAssociation> items()
Optional: A complex type that contains LambdaFunctionAssociation
items for this cache
behavior. If Quantity
is 0
, you can omit Items
.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
LambdaFunctionAssociation
items for this cache
behavior. If Quantity
is 0
, you can omit Items
.public LambdaFunctionAssociations.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LambdaFunctionAssociations.Builder,LambdaFunctionAssociations>
public static LambdaFunctionAssociations.Builder builder()
public static Class<? extends LambdaFunctionAssociations.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.