JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.cloudfront.model

Class LambdaFunctionAssociations

  • All Implemented Interfaces:
    Serializable, Cloneable


    @Generated(value="com.amazonaws:aws-java-sdk-code-generator")
    public class LambdaFunctionAssociations
    extends Object
    implements Serializable, Cloneable 

    A complex type that specifies a list of Lambda@Edge functions associations for a cache behavior.

    If you want to invoke one or more Lambda@Edge 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 only one function.

    If you don't want to invoke any Lambda@Edge functions for the requests that match PathPattern, specify 0 for Quantity and omit Items.

    See Also:
    AWS API Documentation, Serialized Form
    • Constructor Detail

      • LambdaFunctionAssociations

        public LambdaFunctionAssociations()
    • Method Detail

      • setQuantity

        public void setQuantity(Integer 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.
      • getQuantity

        public Integer getQuantity()

        The number of Lambda@Edge function associations for this cache behavior.

        Returns:
        The number of Lambda@Edge function associations for this cache behavior.
      • withQuantity

        public LambdaFunctionAssociations withQuantity(Integer 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.
      • getItems

        public List<LambdaFunctionAssociation> getItems()

        Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

        Returns:
        Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.
      • setItems

        public void setItems(Collection<LambdaFunctionAssociation> items)

        Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

        Parameters:
        items - Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.
      • withItems

        public LambdaFunctionAssociations withItems(LambdaFunctionAssociation... items)

        Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

        NOTE: This method appends the values to the existing list (if any). Use setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the existing values.

        Parameters:
        items - Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withItems

        public LambdaFunctionAssociations withItems(Collection<LambdaFunctionAssociation> items)

        Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.

        Parameters:
        items - Optional: A complex type that contains LambdaFunctionAssociation items for this cache behavior. If Quantity is 0, you can omit Items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /