Class CfnApplicationPropsMixin.KinesisFirehoseInputProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisanalytics.CfnApplicationPropsMixin.KinesisFirehoseInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.KinesisFirehoseInputProperty>
- Enclosing interface:
CfnApplicationPropsMixin.KinesisFirehoseInputProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.KinesisFirehoseInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.KinesisFirehoseInputProperty>
A builder for
CfnApplicationPropsMixin.KinesisFirehoseInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceArn(String resourceArn) Sets the value ofCfnApplicationPropsMixin.KinesisFirehoseInputProperty.getResourceArn()Sets the value ofCfnApplicationPropsMixin.KinesisFirehoseInputProperty.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceArn
@Stability(Stable) public CfnApplicationPropsMixin.KinesisFirehoseInputProperty.Builder resourceArn(String resourceArn) Sets the value ofCfnApplicationPropsMixin.KinesisFirehoseInputProperty.getResourceArn()- Parameters:
resourceArn- ARN of the input delivery stream.- Returns:
this
-
roleArn
@Stability(Stable) public CfnApplicationPropsMixin.KinesisFirehoseInputProperty.Builder roleArn(String roleArn) Sets the value ofCfnApplicationPropsMixin.KinesisFirehoseInputProperty.getRoleArn()- Parameters:
roleArn- ARN of the IAM role that Amazon Kinesis Analytics can assume to access the stream on your behalf. You need to make sure that the role has the necessary permissions to access the stream.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.KinesisFirehoseInputProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.KinesisFirehoseInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-