Class CfnDeliveryStream.KinesisStreamSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.KinesisStreamSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.KinesisStreamSourceConfigurationProperty>
- Enclosing interface:
- CfnDeliveryStream.KinesisStreamSourceConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStream.KinesisStreamSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.KinesisStreamSourceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kinesisStreamArn(String kinesisStreamArn) Sets the value ofCfnDeliveryStream.KinesisStreamSourceConfigurationProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kinesisStreamArn
@Stability(Stable) public CfnDeliveryStream.KinesisStreamSourceConfigurationProperty.Builder kinesisStreamArn(String kinesisStreamArn) - Parameters:
kinesisStreamArn- The ARN of the source Kinesis data stream. This parameter is required.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStream.KinesisStreamSourceConfigurationProperty.Builder roleArn(String roleArn) Sets the value ofCfnDeliveryStream.KinesisStreamSourceConfigurationProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role that provides access to the source Kinesis data stream. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.KinesisStreamSourceConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStream.KinesisStreamSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-