Class CfnStreamConsumerPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesis.CfnStreamConsumerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamConsumerPropsMixin>
- Enclosing class:
CfnStreamConsumerPropsMixin
@Stability(Stable)
public static final class CfnStreamConsumerPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamConsumerPropsMixin>
A fluent builder for
CfnStreamConsumerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()consumerName(String consumerName) The name of the consumer is something you choose when you register the consumer.create()create(CfnPropertyMixinOptions options) 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 CfnStreamConsumerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnStreamConsumerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnStreamConsumerPropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamConsumerPropsMixin>- Returns:
- a newly built instance of
CfnStreamConsumerPropsMixin.
-