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