Class CfnStreamConsumer.Builder
java.lang.Object
software.amazon.awscdk.services.kinesis.CfnStreamConsumer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamConsumer>
- Enclosing class:
CfnStreamConsumer
@Stability(Stable)
public static final class CfnStreamConsumer.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamConsumer>
A fluent builder for
CfnStreamConsumer
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
consumerName
(String consumerName) The name of the consumer is something you choose when you register the consumer.static CfnStreamConsumer.Builder
The ARN of the stream with which you registered the consumer.An array of tags to be added to a specified Kinesis resource.
-
Method Details
-
create
@Stability(Stable) public static CfnStreamConsumer.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnStreamConsumer.Builder
.
-
consumerName
The name of the consumer is something you choose when you register the consumer.- Parameters:
consumerName
- The name of the consumer is something you choose when you register the consumer. This parameter is required.- Returns:
this
- See Also:
-
streamArn
The ARN of the stream with which you registered the consumer.- Parameters:
streamArn
- The ARN of the stream with which you registered the consumer. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of tags to be added to a specified Kinesis resource.A tag consists of a required key and an optional value. You can specify up to 50 tag key-value pairs.
- Parameters:
tags
- An array of tags to be added to a specified Kinesis resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStreamConsumer>
- Returns:
- a newly built instance of
CfnStreamConsumer
.
-