Class CfnApplicationOutput.OutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalyticsv2.CfnApplicationOutput.OutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationOutput.OutputProperty>
- Enclosing interface:
CfnApplicationOutput.OutputProperty
@Stability(Stable)
public static final class CfnApplicationOutput.OutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationOutput.OutputProperty>
A builder for
CfnApplicationOutput.OutputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationSchema
(IResolvable destinationSchema) Sets the value ofCfnApplicationOutput.OutputProperty.getDestinationSchema()
destinationSchema
(CfnApplicationOutput.DestinationSchemaProperty destinationSchema) Sets the value ofCfnApplicationOutput.OutputProperty.getDestinationSchema()
kinesisFirehoseOutput
(IResolvable kinesisFirehoseOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisFirehoseOutput()
kinesisFirehoseOutput
(CfnApplicationOutput.KinesisFirehoseOutputProperty kinesisFirehoseOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisFirehoseOutput()
kinesisStreamsOutput
(IResolvable kinesisStreamsOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisStreamsOutput()
kinesisStreamsOutput
(CfnApplicationOutput.KinesisStreamsOutputProperty kinesisStreamsOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisStreamsOutput()
lambdaOutput
(IResolvable lambdaOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getLambdaOutput()
lambdaOutput
(CfnApplicationOutput.LambdaOutputProperty lambdaOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getLambdaOutput()
Sets the value ofCfnApplicationOutput.OutputProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationSchema
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder destinationSchema(IResolvable destinationSchema) Sets the value ofCfnApplicationOutput.OutputProperty.getDestinationSchema()
- Parameters:
destinationSchema
- Describes the data format when records are written to the destination. This parameter is required.- Returns:
this
-
destinationSchema
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder destinationSchema(CfnApplicationOutput.DestinationSchemaProperty destinationSchema) Sets the value ofCfnApplicationOutput.OutputProperty.getDestinationSchema()
- Parameters:
destinationSchema
- Describes the data format when records are written to the destination. This parameter is required.- Returns:
this
-
kinesisFirehoseOutput
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder kinesisFirehoseOutput(IResolvable kinesisFirehoseOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisFirehoseOutput()
- Parameters:
kinesisFirehoseOutput
- Identifies a Kinesis Data Firehose delivery stream as the destination.- Returns:
this
-
kinesisFirehoseOutput
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder kinesisFirehoseOutput(CfnApplicationOutput.KinesisFirehoseOutputProperty kinesisFirehoseOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisFirehoseOutput()
- Parameters:
kinesisFirehoseOutput
- Identifies a Kinesis Data Firehose delivery stream as the destination.- Returns:
this
-
kinesisStreamsOutput
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder kinesisStreamsOutput(IResolvable kinesisStreamsOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisStreamsOutput()
- Parameters:
kinesisStreamsOutput
- Identifies a Kinesis data stream as the destination.- Returns:
this
-
kinesisStreamsOutput
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder kinesisStreamsOutput(CfnApplicationOutput.KinesisStreamsOutputProperty kinesisStreamsOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getKinesisStreamsOutput()
- Parameters:
kinesisStreamsOutput
- Identifies a Kinesis data stream as the destination.- Returns:
this
-
lambdaOutput
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder lambdaOutput(IResolvable lambdaOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getLambdaOutput()
- Parameters:
lambdaOutput
- Identifies an Amazon Lambda function as the destination.- Returns:
this
-
lambdaOutput
@Stability(Stable) public CfnApplicationOutput.OutputProperty.Builder lambdaOutput(CfnApplicationOutput.LambdaOutputProperty lambdaOutput) Sets the value ofCfnApplicationOutput.OutputProperty.getLambdaOutput()
- Parameters:
lambdaOutput
- Identifies an Amazon Lambda function as the destination.- Returns:
this
-
name
Sets the value ofCfnApplicationOutput.OutputProperty.getName()
- Parameters:
name
- The name of the in-application stream.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationOutput.OutputProperty>
- Returns:
- a new instance of
CfnApplicationOutput.OutputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-