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.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStreamConsumer>
- Returns:
- a newly built instance of
CfnStreamConsumer
.
-