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