Class KinesisTarget.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.targets.alpha.KinesisTarget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KinesisTarget>
- Enclosing class:
KinesisTarget
@Stability(Experimental)
public static final class KinesisTarget.Builder
extends Object
implements software.amazon.jsii.Builder<KinesisTarget>
(experimental) A fluent builder for
KinesisTarget
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static KinesisTarget.Builder
inputTransformation
(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.partitionKey
(String partitionKey) (experimental) Determines which shard in the stream the data record is assigned to.
-
Method Details
-
create
- Parameters:
stream
- This parameter is required.- Returns:
- a new instance of
KinesisTarget.Builder
.
-
partitionKey
(experimental) Determines which shard in the stream the data record is assigned to.- Parameters:
partitionKey
- Determines which shard in the stream the data record is assigned to. This parameter is required.- Returns:
this
- See Also:
-
inputTransformation
@Stability(Experimental) public KinesisTarget.Builder inputTransformation(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.Default: - none
- Parameters:
inputTransformation
- The input transformation to apply to the message before sending it to the target. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<KinesisTarget>
- Returns:
- a newly built instance of
KinesisTarget
.
-