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