Interface FunctionAssociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FunctionAssociation.Builder,,FunctionAssociation> SdkBuilder<FunctionAssociation.Builder,,FunctionAssociation> SdkPojo
- Enclosing class:
FunctionAssociation
public static interface FunctionAssociation.Builder
extends SdkPojo, CopyableBuilder<FunctionAssociation.Builder,FunctionAssociation>
-
Method Summary
Modifier and TypeMethodDescriptionThe event type of the function, eitherviewer-requestorviewer-response.The event type of the function, eitherviewer-requestorviewer-response.functionARN(String functionARN) The Amazon Resource Name (ARN) of the function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
functionARN
The Amazon Resource Name (ARN) of the function.
- Parameters:
functionARN- The Amazon Resource Name (ARN) of the function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventType
The event type of the function, either
viewer-requestorviewer-response. You cannot use origin-facing event types (origin-requestandorigin-response) with a CloudFront function.- Parameters:
eventType- The event type of the function, eitherviewer-requestorviewer-response. You cannot use origin-facing event types (origin-requestandorigin-response) with a CloudFront function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventType
The event type of the function, either
viewer-requestorviewer-response. You cannot use origin-facing event types (origin-requestandorigin-response) with a CloudFront function.- Parameters:
eventType- The event type of the function, eitherviewer-requestorviewer-response. You cannot use origin-facing event types (origin-requestandorigin-response) with a CloudFront function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-