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