@Stability(value=Experimental) public static final class FunctionAssociation.Builder extends Object implements software.amazon.jsii.Builder<FunctionAssociation>
FunctionAssociation| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
FunctionAssociation |
build()
Builds the configured instance.
|
FunctionAssociation.Builder |
eventType(FunctionEventType eventType)
Sets the value of
FunctionAssociation.getEventType() |
FunctionAssociation.Builder |
function(IFunction function)
Sets the value of
FunctionAssociation.getFunction() |
@Stability(value=Experimental) public FunctionAssociation.Builder eventType(FunctionEventType eventType)
FunctionAssociation.getEventType()eventType - The type of event which should invoke the function. This parameter is required.this@Stability(value=Experimental) public FunctionAssociation.Builder function(IFunction function)
FunctionAssociation.getFunction()function - The CloudFront function that will be invoked. This parameter is required.this@Stability(value=Experimental) public FunctionAssociation build()
build in interface software.amazon.jsii.Builder<FunctionAssociation>FunctionAssociationNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.