@Stability(value=Stable) public static final class CfnDetectorModel.LambdaProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDetectorModel.LambdaProperty>
CfnDetectorModel.LambdaProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDetectorModel.LambdaProperty |
build()
Builds the configured instance.
|
CfnDetectorModel.LambdaProperty.Builder |
functionArn(String functionArn)
Sets the value of
CfnDetectorModel.LambdaProperty.getFunctionArn() |
CfnDetectorModel.LambdaProperty.Builder |
payload(CfnDetectorModel.PayloadProperty payload)
Sets the value of
CfnDetectorModel.LambdaProperty.getPayload() |
CfnDetectorModel.LambdaProperty.Builder |
payload(IResolvable payload)
Sets the value of
CfnDetectorModel.LambdaProperty.getPayload() |
@Stability(value=Stable) public CfnDetectorModel.LambdaProperty.Builder functionArn(String functionArn)
CfnDetectorModel.LambdaProperty.getFunctionArn()
functionArn
- `CfnDetectorModel.LambdaProperty.FunctionArn`. This parameter is required.this
@Stability(value=Stable) public CfnDetectorModel.LambdaProperty.Builder payload(CfnDetectorModel.PayloadProperty payload)
CfnDetectorModel.LambdaProperty.getPayload()
payload
- `CfnDetectorModel.LambdaProperty.Payload`.this
@Stability(value=Stable) public CfnDetectorModel.LambdaProperty.Builder payload(IResolvable payload)
CfnDetectorModel.LambdaProperty.getPayload()
payload
- `CfnDetectorModel.LambdaProperty.Payload`.this
@Stability(value=Stable) public CfnDetectorModel.LambdaProperty build()
build
in interface software.amazon.jsii.Builder<CfnDetectorModel.LambdaProperty>
CfnDetectorModel.LambdaProperty
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.