public static final class SnsToLambdaProps.Builder extends Object implements software.amazon.jsii.Builder<SnsToLambdaProps>
SnsToLambdaProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SnsToLambdaProps |
build()
Builds the configured instance.
|
SnsToLambdaProps.Builder |
existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
Sets the value of
SnsToLambdaProps.getExistingLambdaObj() |
SnsToLambdaProps.Builder |
existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
Sets the value of
SnsToLambdaProps.getExistingTopicObj() |
SnsToLambdaProps.Builder |
lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
Sets the value of
SnsToLambdaProps.getLambdaFunctionProps() |
SnsToLambdaProps.Builder |
topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
Sets the value of
SnsToLambdaProps.getTopicProps() |
public SnsToLambdaProps.Builder existingLambdaObj(software.amazon.awscdk.services.lambda.Function existingLambdaObj)
SnsToLambdaProps.getExistingLambdaObj()existingLambdaObj - Existing instance of Lambda Function object, providing both this and `lambdaFunctionProps` will cause an error.thispublic SnsToLambdaProps.Builder existingTopicObj(software.amazon.awscdk.services.sns.Topic existingTopicObj)
SnsToLambdaProps.getExistingTopicObj()existingTopicObj - Existing instance of SNS Topic object, providing both this and topicProps will cause an error..thispublic SnsToLambdaProps.Builder lambdaFunctionProps(software.amazon.awscdk.services.lambda.FunctionProps lambdaFunctionProps)
SnsToLambdaProps.getLambdaFunctionProps()lambdaFunctionProps - User provided props to override the default props for the Lambda function.thispublic SnsToLambdaProps.Builder topicProps(software.amazon.awscdk.services.sns.TopicProps topicProps)
SnsToLambdaProps.getTopicProps()topicProps - Optional user provided properties to override the default properties for the SNS topic.thispublic SnsToLambdaProps build()
build in interface software.amazon.jsii.Builder<SnsToLambdaProps>SnsToLambdaPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.