Class CfnChannel.StreamConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnChannel.StreamConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.StreamConfigurationProperty>
- Enclosing interface:
CfnChannel.StreamConfigurationProperty
@Stability(Stable)
public static final class CfnChannel.StreamConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.StreamConfigurationProperty>
A builder for
CfnChannel.StreamConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.recordConfiguration(IResolvable recordConfiguration) Sets the value ofCfnChannel.StreamConfigurationProperty.getRecordConfiguration()recordConfiguration(CfnChannel.RecordConfigurationProperty recordConfiguration) Sets the value ofCfnChannel.StreamConfigurationProperty.getRecordConfiguration()Sets the value ofCfnChannel.StreamConfigurationProperty.getStreamArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
recordConfiguration
@Stability(Stable) public CfnChannel.StreamConfigurationProperty.Builder recordConfiguration(IResolvable recordConfiguration) Sets the value ofCfnChannel.StreamConfigurationProperty.getRecordConfiguration()- Parameters:
recordConfiguration- The configuration that describes how records on the source stream are encoded. This parameter is required.- Returns:
this
-
recordConfiguration
@Stability(Stable) public CfnChannel.StreamConfigurationProperty.Builder recordConfiguration(CfnChannel.RecordConfigurationProperty recordConfiguration) Sets the value ofCfnChannel.StreamConfigurationProperty.getRecordConfiguration()- Parameters:
recordConfiguration- The configuration that describes how records on the source stream are encoded. This parameter is required.- Returns:
this
-
streamArn
@Stability(Stable) public CfnChannel.StreamConfigurationProperty.Builder streamArn(String streamArn) Sets the value ofCfnChannel.StreamConfigurationProperty.getStreamArn()- Parameters:
streamArn- The Amazon resource name (ARN) of the Kinesis data stream that the channel reads from. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.StreamConfigurationProperty>- Returns:
- a new instance of
CfnChannel.StreamConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-