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 Details

    • 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

      The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your 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. Your functions must be published to the LIVE stage to associate them with a cache behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your 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. Your functions must be published to the LIVE stage to associate them with a cache behavior.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • items

      The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.

      This is a convenience method that creates an instance of the FunctionAssociation.Builder avoiding the need to create one manually via FunctionAssociation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to items(List<FunctionAssociation>).

      Parameters:
      items - a consumer that will call methods on FunctionAssociation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: