Class CfnChannelMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesis.CfnChannelMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelMixinProps>
- Enclosing interface:
CfnChannelMixinProps
@Stability(Stable)
public static final class CfnChannelMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelMixinProps>
A builder for
CfnChannelMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelName(String channelName) Sets the value ofCfnChannelMixinProps.getChannelName()encryptionConfiguration(CfnChannelPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnChannelMixinProps.getEncryptionConfiguration()encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnChannelMixinProps.getEncryptionConfiguration()loggingConfiguration(CfnChannelPropsMixin.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnChannelMixinProps.getLoggingConfiguration()loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnChannelMixinProps.getLoggingConfiguration()s3DestinationConfiguration(CfnChannelPropsMixin.S3DestinationConfigurationProperty s3DestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3DestinationConfiguration()s3DestinationConfiguration(IResolvable s3DestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3DestinationConfiguration()s3TablesDestinationConfiguration(CfnChannelPropsMixin.S3TablesDestinationConfigurationProperty s3TablesDestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3TablesDestinationConfiguration()s3TablesDestinationConfiguration(IResolvable s3TablesDestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3TablesDestinationConfiguration()serviceExecutionRoleArn(String serviceExecutionRoleArn) Sets the value ofCfnChannelMixinProps.getServiceExecutionRoleArn()streamConfigurationList(List<? extends Object> streamConfigurationList) Sets the value ofCfnChannelMixinProps.getStreamConfigurationList()streamConfigurationList(IResolvable streamConfigurationList) Sets the value ofCfnChannelMixinProps.getStreamConfigurationList()Sets the value ofCfnChannelMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelName
Sets the value ofCfnChannelMixinProps.getChannelName()- Parameters:
channelName- The name of the channel. The name's uniqueness is scoped per AWS account and region.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnChannelMixinProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Server-side encryption configuration for data at rest in the destination. Data delivered to S3 / S3 Tables is encrypted with the same key.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder encryptionConfiguration(CfnChannelPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnChannelMixinProps.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Server-side encryption configuration for data at rest in the destination. Data delivered to S3 / S3 Tables is encrypted with the same key.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder loggingConfiguration(IResolvable loggingConfiguration) Sets the value ofCfnChannelMixinProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- Configuration for delivering channel operational logs.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder loggingConfiguration(CfnChannelPropsMixin.LoggingConfigurationProperty loggingConfiguration) Sets the value ofCfnChannelMixinProps.getLoggingConfiguration()- Parameters:
loggingConfiguration- Configuration for delivering channel operational logs.- Returns:
this
-
s3DestinationConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder s3DestinationConfiguration(IResolvable s3DestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3DestinationConfiguration()- Parameters:
s3DestinationConfiguration- Configuration for delivery to a vanilla S3 bucket destination. Exactly one of S3DestinationConfiguration and S3TablesDestinationConfiguration must be specified on the channel.- Returns:
this
-
s3DestinationConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder s3DestinationConfiguration(CfnChannelPropsMixin.S3DestinationConfigurationProperty s3DestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3DestinationConfiguration()- Parameters:
s3DestinationConfiguration- Configuration for delivery to a vanilla S3 bucket destination. Exactly one of S3DestinationConfiguration and S3TablesDestinationConfiguration must be specified on the channel.- Returns:
this
-
s3TablesDestinationConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder s3TablesDestinationConfiguration(IResolvable s3TablesDestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3TablesDestinationConfiguration()- Parameters:
s3TablesDestinationConfiguration- Configuration for delivery to S3 Tables destinations. Exactly one of S3DestinationConfiguration and S3TablesDestinationConfiguration must be specified on the channel.- Returns:
this
-
s3TablesDestinationConfiguration
@Stability(Stable) public CfnChannelMixinProps.Builder s3TablesDestinationConfiguration(CfnChannelPropsMixin.S3TablesDestinationConfigurationProperty s3TablesDestinationConfiguration) Sets the value ofCfnChannelMixinProps.getS3TablesDestinationConfiguration()- Parameters:
s3TablesDestinationConfiguration- Configuration for delivery to S3 Tables destinations. Exactly one of S3DestinationConfiguration and S3TablesDestinationConfiguration must be specified on the channel.- Returns:
this
-
serviceExecutionRoleArn
@Stability(Stable) public CfnChannelMixinProps.Builder serviceExecutionRoleArn(String serviceExecutionRoleArn) Sets the value ofCfnChannelMixinProps.getServiceExecutionRoleArn()- Parameters:
serviceExecutionRoleArn- The ARN of the IAM role that the channel assumes to read from the source stream, deliver records to the destination, and (when enabled) write CloudWatch Logs.- Returns:
this
-
streamConfigurationList
@Stability(Stable) public CfnChannelMixinProps.Builder streamConfigurationList(IResolvable streamConfigurationList) Sets the value ofCfnChannelMixinProps.getStreamConfigurationList()- Parameters:
streamConfigurationList- List of stream configurations associated with the channel. v1 supports a single element; the list shape allows future extensibility to fan in from multiple streams.- Returns:
this
-
streamConfigurationList
@Stability(Stable) public CfnChannelMixinProps.Builder streamConfigurationList(List<? extends Object> streamConfigurationList) Sets the value ofCfnChannelMixinProps.getStreamConfigurationList()- Parameters:
streamConfigurationList- List of stream configurations associated with the channel. v1 supports a single element; the list shape allows future extensibility to fan in from multiple streams.- Returns:
this
-
tags
Sets the value ofCfnChannelMixinProps.getTags()- Parameters:
tags- An arbitrary set of tags (key-value pairs) to associate with the Kinesis channel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelMixinProps>- Returns:
- a new instance of
CfnChannelMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-