Class CfnApplicationOutputV2.OutputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationOutputV2.OutputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationOutputV2.OutputProperty>
- Enclosing interface:
CfnApplicationOutputV2.OutputProperty
@Stability(Stable)
public static final class CfnApplicationOutputV2.OutputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationOutputV2.OutputProperty>
A builder for
CfnApplicationOutputV2.OutputProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.destinationSchema
(IResolvable destinationSchema) Sets the value ofCfnApplicationOutputV2.OutputProperty.getDestinationSchema()
destinationSchema
(CfnApplicationOutputV2.DestinationSchemaProperty destinationSchema) Sets the value ofCfnApplicationOutputV2.OutputProperty.getDestinationSchema()
kinesisFirehoseOutput
(IResolvable kinesisFirehoseOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisFirehoseOutput()
kinesisFirehoseOutput
(CfnApplicationOutputV2.KinesisFirehoseOutputProperty kinesisFirehoseOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisFirehoseOutput()
kinesisStreamsOutput
(IResolvable kinesisStreamsOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisStreamsOutput()
kinesisStreamsOutput
(CfnApplicationOutputV2.KinesisStreamsOutputProperty kinesisStreamsOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisStreamsOutput()
lambdaOutput
(IResolvable lambdaOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getLambdaOutput()
lambdaOutput
(CfnApplicationOutputV2.LambdaOutputProperty lambdaOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getLambdaOutput()
Sets the value ofCfnApplicationOutputV2.OutputProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationSchema
@Stability(Stable) public CfnApplicationOutputV2.OutputProperty.Builder destinationSchema(IResolvable destinationSchema) Sets the value ofCfnApplicationOutputV2.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 CfnApplicationOutputV2.OutputProperty.Builder destinationSchema(CfnApplicationOutputV2.DestinationSchemaProperty destinationSchema) Sets the value ofCfnApplicationOutputV2.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 CfnApplicationOutputV2.OutputProperty.Builder kinesisFirehoseOutput(IResolvable kinesisFirehoseOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisFirehoseOutput()
- Parameters:
kinesisFirehoseOutput
- Identifies a Kinesis Data Firehose delivery stream as the destination.- Returns:
this
-
kinesisFirehoseOutput
@Stability(Stable) public CfnApplicationOutputV2.OutputProperty.Builder kinesisFirehoseOutput(CfnApplicationOutputV2.KinesisFirehoseOutputProperty kinesisFirehoseOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisFirehoseOutput()
- Parameters:
kinesisFirehoseOutput
- Identifies a Kinesis Data Firehose delivery stream as the destination.- Returns:
this
-
kinesisStreamsOutput
@Stability(Stable) public CfnApplicationOutputV2.OutputProperty.Builder kinesisStreamsOutput(IResolvable kinesisStreamsOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisStreamsOutput()
- Parameters:
kinesisStreamsOutput
- Identifies a Kinesis data stream as the destination.- Returns:
this
-
kinesisStreamsOutput
@Stability(Stable) public CfnApplicationOutputV2.OutputProperty.Builder kinesisStreamsOutput(CfnApplicationOutputV2.KinesisStreamsOutputProperty kinesisStreamsOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getKinesisStreamsOutput()
- Parameters:
kinesisStreamsOutput
- Identifies a Kinesis data stream as the destination.- Returns:
this
-
lambdaOutput
@Stability(Stable) public CfnApplicationOutputV2.OutputProperty.Builder lambdaOutput(IResolvable lambdaOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getLambdaOutput()
- Parameters:
lambdaOutput
- Identifies an Amazon Lambda function as the destination.- Returns:
this
-
lambdaOutput
@Stability(Stable) public CfnApplicationOutputV2.OutputProperty.Builder lambdaOutput(CfnApplicationOutputV2.LambdaOutputProperty lambdaOutput) Sets the value ofCfnApplicationOutputV2.OutputProperty.getLambdaOutput()
- Parameters:
lambdaOutput
- Identifies an Amazon Lambda function as the destination.- Returns:
this
-
name
Sets the value ofCfnApplicationOutputV2.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<CfnApplicationOutputV2.OutputProperty>
- Returns:
- a new instance of
CfnApplicationOutputV2.OutputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-