Class CfnFunctionPropsMixin.SNSEventProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.SNSEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.SNSEventProperty>
- Enclosing interface:
CfnFunctionPropsMixin.SNSEventProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.SNSEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.SNSEventProperty>
A builder for
CfnFunctionPropsMixin.SNSEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.SNSEventProperty.getTopic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topic
Sets the value ofCfnFunctionPropsMixin.SNSEventProperty.getTopic()- Parameters:
topic- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.SNSEventProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.SNSEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-