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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionAssociation.Builder
eventType(String eventType)
The event type of the function, eitherviewer-request
orviewer-response
.FunctionAssociation.Builder
eventType(EventType eventType)
The event type of the function, eitherviewer-request
orviewer-response
.FunctionAssociation.Builder
functionARN(String functionARN)
The Amazon Resource Name (ARN) of the function.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
functionARN
FunctionAssociation.Builder functionARN(String 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
FunctionAssociation.Builder eventType(String eventType)
The event type of the function, either
viewer-request
orviewer-response
. You cannot use origin-facing event types (origin-request
andorigin-response
) with a CloudFront function.- Parameters:
eventType
- The event type of the function, eitherviewer-request
orviewer-response
. You cannot use origin-facing event types (origin-request
andorigin-response
) with a CloudFront function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventType
,EventType
-
eventType
FunctionAssociation.Builder eventType(EventType eventType)
The event type of the function, either
viewer-request
orviewer-response
. You cannot use origin-facing event types (origin-request
andorigin-response
) with a CloudFront function.- Parameters:
eventType
- The event type of the function, eitherviewer-request
orviewer-response
. You cannot use origin-facing event types (origin-request
andorigin-response
) with a CloudFront function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventType
,EventType
-
-