Class CfnTopicRulePropsMixin.KinesisActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.KinesisActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRulePropsMixin.KinesisActionProperty>
- Enclosing interface:
CfnTopicRulePropsMixin.KinesisActionProperty
@Stability(Stable)
public static final class CfnTopicRulePropsMixin.KinesisActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRulePropsMixin.KinesisActionProperty>
A builder for
CfnTopicRulePropsMixin.KinesisActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.partitionKey(String partitionKey) Sets the value ofCfnTopicRulePropsMixin.KinesisActionProperty.getPartitionKey()Sets the value ofCfnTopicRulePropsMixin.KinesisActionProperty.getRoleArn()streamName(String streamName) Sets the value ofCfnTopicRulePropsMixin.KinesisActionProperty.getStreamName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
partitionKey
@Stability(Stable) public CfnTopicRulePropsMixin.KinesisActionProperty.Builder partitionKey(String partitionKey) Sets the value ofCfnTopicRulePropsMixin.KinesisActionProperty.getPartitionKey()- Parameters:
partitionKey- The partition key.- Returns:
this
-
roleArn
@Stability(Stable) public CfnTopicRulePropsMixin.KinesisActionProperty.Builder roleArn(String roleArn) Sets the value ofCfnTopicRulePropsMixin.KinesisActionProperty.getRoleArn()- Parameters:
roleArn- The ARN of the IAM role that grants access to the Amazon Kinesis stream.- Returns:
this
-
streamName
@Stability(Stable) public CfnTopicRulePropsMixin.KinesisActionProperty.Builder streamName(String streamName) Sets the value ofCfnTopicRulePropsMixin.KinesisActionProperty.getStreamName()- Parameters:
streamName- The name of the Amazon Kinesis stream.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRulePropsMixin.KinesisActionProperty>- Returns:
- a new instance of
CfnTopicRulePropsMixin.KinesisActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-